Theming Forum Icons

From e107 Wiki
Jump to: navigation, search

e107 Wiki: English | Русский | Deutsch | Français | Magyar | Português | Български | Česky | Nederlands | Ελληνικά | Italiano | Norske | Polska | Slovenščina | Español | Svenska | Translate: Wiki | Page

logo_wiki.png

Current Release 1.0.4 | e107.org | Download | Changelog | Forum | Plugins | Themes | RSS Feed of Latest Changes | Atom Feed of Latest Changes


Theme Development Section of e107 handbook
Main page > I : First Aid > II : Development > III : Administration > IV : How To's > V : Plugin Writing > VI : Theming & Shortcodes


Creating your own set of Forum Icons

In e107 you can create and implement you own set of forum icons and to include these icons with your distributed theme.

To start your icon set the first thing you need to do is create a /forum/ directory in you themes folder containing your replacement images, name them without the language prefix, such as: -

mytheme/forum/lite/English_main_admin.png
mytheme/forum/dark/English_main_admin.png
mytheme/forum/English_main_admin.png
i.e. 
mytheme/forum/main_admin.png
mytheme/forum/admin.png
mytheme/forum/sticky.png


Next copy /e107_plugins/forum/templates/forum_icons_template.php to the same directory.

If you then open this copied file you can change the html tags that are outputted to display your icons.

In your theme.php remember that you still need to set the following, for all the other site images.

define("IMODE", "lite")
or
define("IMODE", "dark")