| Author | Message |
Kort | #1 2010-02-22 13:27 |
| Now that the modularization is in progress I think we got a possibility to request some resource management features. Particularly I am talking about icons. Right now they are all scattered between the admin & pfs modules, skin img/system folder, root images folder and (sometimes) plugin folders. What I suggest is grouping all icon types in one place, i.e.: images/icons/default images/flags/default images/filetypes/default images/smilies/defaultAdvantages: 1. All graphics get there, eliminating all possible duplicates 2. Any such global icon will become available anywhere via resource file: any module, any plugin, any skin 3. Skin folder will get smaller 4. Enable icon pack capability, i.e.: images/icons/default images/icons/famfamfam images/icons/diagona images/flags/default images/flags/silky images/filetypes/default images/smilies/default images/smilies/kolobokSo icon style can be changed easily & globally. Icon packs can be selectable via config.php -- just like skins or languages. | |
| Fornit Some Fornus | |
ez | #2 2010-02-22 14:54 |
| Add a sprite too | |
| ==- I say: Keep it EZ -== | |
Trustmaster Posts: 2184 http://www.cotonti.com Location: Russia Nizhny Novgorod Occupation: Software Engineer Age: 21 | #3 2010-03-09 16:09 |
| How do we manage iconpacks on a site? | |
| May the Source be with you! | |
Sergeich Posts: 671 Location: Russia Occupation: Age: 32 | #4 2010-03-09 16:58 |
| Kort, bad idea. Plugin - yes, core - no. | |
| Born in the Wild Wild East! | |
Kort | #5 2010-03-09 18:17 |
| Sergeich: we are talking here about the way to organize resources Right now the icons are split between - images/admin/ - skins/skinname/img/system - plugin subfolders Ever since LDU every skin includes same icons which is definitely redundant. An iconpack shall: 1. Stay in the same location (naming agreement?) 2. Be easily interchangeable/replaceable 3. Not depend on a skin/theme Trustmaster: Iconpacks shall be managed just like skins/themes/languages -- from within config.php | |
| Fornit Some Fornus | |
pieter Posts: 807 http://www.dutchcotonti.com Location: Belgium Tremelo Occupation: Surfing at Cotonti.com Age: 33 | #6 2010-03-09 18:38 |
| What if you have 2 skins that uses a different ican pack? There should be a way to include the iconpack in the skin. Advantage if it is not together is that if you install a plugin and want to delete it, you delete also the icons needed for the plugin. Otherwise it will stay in the icon folder. | |
| ---------------------------------------------------------------------------------------- www.dutchcotonti.com De plaats voor nederlandse ondersteuning voor Cotonti. The place for support for Cotonti in Dutch. | |
Kort | #7 2010-03-09 19:37 |
| My dear Pieter, how many times have you used images/admin/news.gif? There is a finite number of icons that can be used within a CMS. Even if 1, 2 or even 5 will never be used, the flexibility of operating complete iconpacks is obvious, as compared to non-uniform & outdated icons scattered throughout the engine. As regards sites with "2 or more skins": 99.9% normal websites use 1, 99% normal sites do not use color schemes. But if you want to satisfy 0.1%, we have skinname.php which can point to a specific iconpack. This post was edited by Kort (2010-03-09 19:49, 184 days ago) | |
| Fornit Some Fornus | |
Koradhil Posts: 418 http://www.ghengeveld.nl Location: Netherlands Rotterdam Occupation: Webdeveloper Age: 22 | #8 2010-03-11 23:17 |
| I agree with Kort on the location of icon packs / smilies etc. As long as we use resource references to call them there is plenty of flexibility for any skin designer, since he can simply overwrite the resource reference to call his own icon. I think we should include a .php file with each icon pack which you can include (in skinname.php) in order to overwrite all the necessary resource references to apply the icon pack. | |







