IconThemes

Created by: btodoroff, Last modification: 13 Nov 2008 (18:20 UTC) by xing
{{Exterminate|
|date=13-November-2008
}}

The basic idea of icon themes is to allow you, the admin, to change the icons that are used to navigate your site with out having to change all the templates or maintain a theme. You want heart themed icons, just create or download an icon directory (more on that to come), drop it is the img folder, and select it from the features admin panel. ))Ta-Da!(( - all your icons change.

Even better, you don't have to replace or duplicate every icon, just the ones you want! The rest will fall back to the defaults.

But wait! That's not all. For all you themers out there, you can change the icons for the whole site to better match your look with out changing every template! That's right - just drop an icon folder in your styles/<themename>/ directory and if the admin picks your theme, they get your icons as well. All without changing all the templates!

So how do I get all this wonderful functionality. It's all brought to you by the smarty function function_biticon!

Cascading Icon Themes
For ReleaseOne:
It would be nice to support smiley only icon themes, and quicktag only themes, and XXX only themes being mixed together easily by the admin. So I was thinking about making the icon theme setting an ordered list instead of a single theme. Tikicon would then search through the list and take the 1st match it finds. For example:

List:
    1. AlienSmileys
    2. ))3DQuicktags((
    3. StarwarsIcons

So to find smileys/grin it would 1st look in the AlienSmileys theme and find it there.
For kernel/trash it would look in AlienSmileys, then ))3DQuicktags((, then find it in StarwarsIcons.
Etc.

This way designers can do just smile, or just Quicktags, or just XXX sets and the site admin doesn't have to cut and paste to create a composite of them for their site.

Browser Shortcut Icon
Don't forget about the browser shortcut icons, most well-known is /favicon.ico.
There should be support for at least one per virtual domain. But it can be specified for each page, so someone might want different icons for different areas within a site.
</themename>