|
How to make a AEF Skin
AEF will use the default theme files when a particular file is not there in a theme. The files it will use from the default theme is only PHP files with the exception of texteditor_theme.php.
So to make a theme you need the following files:
1) theme_settings.php
2) theme_registry.php
3) hf_theme.php (Headers and Footers)
4) texteditor_theme.php (Text Editor throughout the forums)
5) All CSS files that are there
6) All JS files that are there in the JS folder
Note: The above file requirements are just if you want to make a template on the default theme. If you include all the files that are there in the default theme then it will not use the default theme files. Also the CSS and JS files have to be added for compatibility with the default theme.
Now theme_settings.php contains a path to all the files (PHP files only) that are there in this theme.
theme_registry.php is a registry where certain values can be set to be used within the theme itself. This file is the place where the Name, Server Address to the theme files, URL , Image URL etc are referred to.(Please refer to notes in theme_registry.php for setting custom registry keys for a particular theme)
These two files actually shape up the whole theme.
The other files refer to their respective sections. Say you want edit the Main forums index and not use the default theme. You can just include MainIndex_theme.php - the PHP theme file that you have edited in your theme. Similarly you can edit any section of the forums design by including your edited theme file in your theme.
Once the theme is made just put up that folder in the path/to/aef/themes/ directory. To install the theme just go to Admin CP -> Import Themes . There just give the path to the folder having the theme and click Import.
Note: Please read the theme_registry.php for theme registry keys.
I have attached the Buttons.zip which contains 11 PSD files for AEF Buttons.
I will keep on updating this topic as and when required.
Just ask your questions if you have any doubts.
Edited by pulkit : February 10, 2008, 4:07 pm
-----------------------
AEF now featuring in Softaculous - Auto Installer : http://www.softaculous.com
Rate for AEF - http://www.softaculous.com/softwares/forums/AEF |