Add icon to a class

Author Message

Roberto Bermejo

Wednesday 21 February 2007 3:25:15 am

Hi all, how can to add a customize icon to a class made by me? For example, the icon for the folder class, or the icon for de link class, the icon for de comment class, etc, etc...

Thanks

Sébastien Morel

Wednesday 21 February 2007 4:12:22 am

Hi,

In your eZ install directory, you have a "share/icons" directory you can duplicate an existant directory (crystal for example), rename it and after you can customize the icon.ini configuration file in the new theme directory.

When the theme is ok, in your icon.ini of the sitacess admin add :

[IconSettings]
Theme=nameofthemedirectory
Size=normal

to activate the new theme.

For icon mapping :

ClassMap[identifier]=direcftory/nameofimg.ext

++

--
eZ c'est plus fort que toi !
http://www.ez-france.org
http://blog.plopix.net
@Novactive (http://www.novactive.com)

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