Short question about Templates

Author Message

Stefan Müller

Tuesday 27 May 2008 4:31:52 am

Hi,

I want to change the template for "Links". On every link on my site, there should be displayed a short icon in the beginning of the link. I don't know which template I have to modify for this. Could someone please help me?

Gurudutt Verma

Wednesday 28 May 2008 1:21:26 am

Hi Stefan,

Try following settings to see used template in site.

settings/override/site.ini.append.php
[TemplateSettings]
ShowUsedTemplates=enabled
#Debug=enabled

Have a look here.
http://ez.no/doc/ez_publish/technical_manual/4_0/templates/the_template_override_system
http://ez.no/developer/forum/setup_design/template_override_conditions
http://ez.no/developer/forum/setup_design/override_templates_used_by_attribute_view_gui/re_override_templates_used_by_attribute_view_g

Laurent Dorier

Wednesday 28 May 2008 11:55:32 pm

Hi,

why do not use the admin options to activate the debug system ?
Any advantages to edit directly .ini files ?
Thanks for your help.

Cyrille Catcha-Picard

Friday 30 May 2008 1:33:10 am

Hi,
Laurent, I don't think there are big differences between editing config files in the back offfice and directly on filesystem. On the first case, a php script might save your modifications from the backoffice to the file... on the second, it's just your file editor :).

Stefan, have you tried to use css to add your small images to your links ?
(with padding and background-images..)

unkn.org

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 18 2025 15:50:57
Script start
Timing: Jan 18 2025 15:50:57
Module start 'layout'
Timing: Jan 18 2025 15:50:57
Module start 'content'
Timing: Jan 18 2025 15:50:58
Module end 'content'
Timing: Jan 18 2025 15:50:58
Script end

Main resources:

Total runtime0.5532 sec
Peak memory usage4,096.0000 KB
Database Queries64

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0043 589.0469152.6250
Module start 'layout' 0.00430.0030 741.671939.4609
Module start 'content' 0.00730.5447 781.1328617.7969
Module end 'content' 0.55190.0013 1,398.929712.1641
Script end 0.5532  1,411.0938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.5272160.0002
Check MTime0.00130.2293160.0001
Mysql Total
Database connection0.00060.106810.0006
Mysqli_queries0.503490.9968640.0079
Looping result0.00050.0973620.0000
Template Total0.528095.420.2640
Template load0.00200.369520.0010
Template processing0.525995.066120.2630
Template load and register function0.00030.055110.0003
states
state_id_array0.00090.157510.0009
state_identifier_array0.00070.126520.0003
Override
Cache load0.00170.3113280.0001
Sytem overhead
Fetch class attribute can translate value0.00050.090640.0001
Fetch class attribute name0.00120.225660.0002
XML
Image XML parsing0.00440.797740.0011
class_abstraction
Instantiating content class attribute0.00000.002460.0000
General
dbfile0.00330.6001210.0002
String conversion0.00000.001240.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/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: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs