How can i setup multiple pathes for custom icons images ?

Author Message

H-Works Agency

Sunday 27 November 2005 6:14:22 pm

My first rule when using EZP is to never (when possible) modify the default dir contents to make upgrades as simple as possible.

My problem is that i didn't find a way until now not to modify 'share/icons/' cause its the only place where i can put my custom classes icons images.

How should i handle this ?

It's pretty obvious for me that you should put a 'IconRepository[]=' in icon.ini.

This way we could put per-siteaccess icons repository.

Thanx
Martin

EZP is Great

Ɓukasz Serwatka

Monday 28 November 2005 12:01:05 am

Hi Martin,

This is not possible for now with eZ publish. Currently you can have only one Repository (default 'share/icons') path, however you can add there your icons in new folders, and use icon.ini.append.php per siteaccess.

You can put icon.ini in your new icon theme directory and this settings will use for new theme, look on
share/icons/crystal/icon.ini for more examples.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.