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.

eZ debug

Timing: Jan 19 2025 00:58:36
Script start
Timing: Jan 19 2025 00:58:36
Module start 'layout'
Timing: Jan 19 2025 00:58:36
Module start 'content'
Timing: Jan 19 2025 00:58:37
Module end 'content'
Timing: Jan 19 2025 00:58:37
Script end

Main resources:

Total runtime0.6334 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 589.4375152.6563
Module start 'layout' 0.00480.0028 742.093839.4922
Module start 'content' 0.00760.6244 781.5859534.0859
Module end 'content' 0.63200.0014 1,315.67198.0938
Script end 0.6334  1,323.7656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5361160.0002
Check MTime0.00140.2157160.0001
Mysql Total
Database connection0.00060.101810.0006
Mysqli_queries0.585492.4252540.0108
Looping result0.00050.0744520.0000
Template Total0.601895.020.3009
Template load0.00200.312020.0010
Template processing0.599994.698720.2999
Template load and register function0.00010.012810.0001
states
state_id_array0.00080.122810.0008
state_identifier_array0.00150.232220.0007
Override
Cache load0.00160.2569170.0001
Sytem overhead
Fetch class attribute can translate value0.00060.094920.0003
Fetch class attribute name0.00130.201140.0003
XML
Image XML parsing0.00100.156620.0005
class_abstraction
Instantiating content class attribute0.00000.001140.0000
General
dbfile0.00290.4570250.0001
String conversion0.00000.001340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs