Right toolbar

Author Message

Siw Helen Thorslund

Wednesday 29 September 2004 5:38:25 am

I have set up a site based on the news template that comes with eZ.

My problem is where to edit the content within the news module/toolbar on the right. Where is this template?

What I want to do here is to shorten the text that is written out from the Intro-field through the |shorten() command...

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )

Alex Jones

Wednesday 29 September 2004 6:58:52 am

Try modifying design/standard/templates/toolbar/full/node_list.tpl

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Siw Helen Thorslund

Thursday 30 September 2004 2:35:03 am

I have tried to modify this template, but nothing happens. So it seems like this template isn't used..

I just can't seem to find the right template......

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )

Lida Popelo

Thursday 30 September 2004 10:15:59 am

Maybe this link help you find right template

http://ez.no/ez_publish/documentation/customization/tips_tricks/show_which_templates_are_used

Lazaro Ferreira

Thursday 30 September 2004 10:29:06 am

Hi,

Check your toolbar.ini.append to see which tools the toolbar is using , then look under

templates/toolbar

the right template (tool name match template name so i.e: node_list tool has a node_list.tpl )

You shouldn't change under standard dir, instead copy your template file under standard dir to your sitedesign dir keeping the same structure

Then clear the cache-tpl

Lazaro
http://www.mzbusiness.com

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 16:26:13
Script start
Timing: Jan 18 2025 16:26:13
Module start 'layout'
Timing: Jan 18 2025 16:26:13
Module start 'content'
Timing: Jan 18 2025 16:26:13
Module end 'content'
Timing: Jan 18 2025 16:26:13
Script end

Main resources:

Total runtime0.6751 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.9219152.6094
Module start 'layout' 0.00470.0029 741.531339.4141
Module start 'content' 0.00760.6660 780.9453627.1250
Module end 'content' 0.67360.0014 1,408.070312.5078
Script end 0.6750  1,420.5781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.4359160.0002
Check MTime0.00120.1841160.0001
Mysql Total
Database connection0.00060.082110.0006
Mysqli_queries0.623192.3015670.0093
Looping result0.00060.0917650.0000
Template Total0.644195.420.3220
Template load0.00190.278620.0009
Template processing0.642295.131420.3211
Template load and register function0.00010.016610.0001
states
state_id_array0.00090.140310.0009
state_identifier_array0.00200.302520.0010
Override
Cache load0.00160.2341240.0001
Sytem overhead
Fetch class attribute can translate value0.00050.077540.0001
Fetch class attribute name0.00100.145970.0001
XML
Image XML parsing0.00120.175640.0003
class_abstraction
Instantiating content class attribute0.00000.001880.0000
General
dbfile0.00110.1631220.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs