customize icons for multilinguage site

Author Message

Hassan CHAKROUN

Friday 10 June 2011 12:17:13 pm

hello

I created an ez publish extension  called 'test' that I use in my site whitch is in frensh and british english language.

I 'm tried to override the icons that exists in share/icons/flags/ like  eng-GB.gif.

than I created the same subtree in my extension

like:

      test

             share

                     flags

                              icons

                                      eng-GB.gif

eng-GB.gif :is my own icon.

but that does work.

Has there some configurations to make this work ?

Thanks everybody

SEBBANE Alexandre

Sunday 12 June 2011 12:20:24 am

look at the icon.ini configuration file.

you have to override this one 

Paris, France

Hassan CHAKROUN

Tuesday 14 June 2011 3:55:22 am

Bonjour Alexandre

Je crois que tu comprends le français.

Alors j'ai bien mis un override du  fichier icon.ini dans mon siteaccess :

[IconSettings]
Repository=extension/monext/share/icons

et j'ai également créé les dossiers dans le message en haut mais ca se surcharge pas.

As-tu une idée pourquoi?

Gaetano Giunta

Tuesday 14 June 2011 5:04:33 am

Pour info: il y a des bugs ouverts dans le issue tracker eZ sur la gestion du fichier icon.ini et le placement des icones...

Principal Consultant International Business
Member of the Community Project Board

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 17 2025 23:54:39
Script start
Timing: Jan 17 2025 23:54:39
Module start 'layout'
Timing: Jan 17 2025 23:54:39
Module start 'content'
Timing: Jan 17 2025 23:54:39
Module end 'content'
Timing: Jan 17 2025 23:54:39
Script end

Main resources:

Total runtime0.5596 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.1484152.6406
Module start 'layout' 0.00620.0039 741.789139.4844
Module start 'content' 0.01010.5479 781.2734596.4766
Module end 'content' 0.55790.0016 1,377.750012.1406
Script end 0.5595  1,389.8906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5943160.0002
Check MTime0.00140.2484160.0001
Mysql Total
Database connection0.00090.155110.0009
Mysqli_queries0.497188.8397620.0080
Looping result0.00080.1383600.0000
Template Total0.531795.020.2658
Template load0.00250.442920.0012
Template processing0.529294.571420.2646
Template load and register function0.00020.038910.0002
states
state_id_array0.00070.118510.0007
state_identifier_array0.00110.195020.0005
Override
Cache load0.00220.3861340.0001
Sytem overhead
Fetch class attribute can translate value0.00060.101930.0002
Fetch class attribute name0.00160.284870.0002
XML
Image XML parsing0.00310.561530.0010
class_abstraction
Instantiating content class attribute0.00000.003180.0000
General
dbfile0.00240.4276280.0001
String conversion0.00000.002040.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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs