Best Way to Reverse Order of Items in Title Tag?

Author Message

Alex Jones

Friday 29 August 2003 3:10:21 pm

What's the best way to reverse the order of the items in the title tag? This is the default code for the tag:

{set-block variable=site_title}
{section show=is_set($module_result.title_path)}
{$site.title|wash} - {section name=Path loop=$module_result.title_path}{$:item.text|wash}{delimiter} : {/delimiter}{/section}
{section-else}
{$site.title|wash} - {section name=Path loop=$module_result.path}{$:item.text|wash}{delimiter} : {/delimiter}{/section}
{/section}
{/set-block}
<title>{$site_title}</title>

Thanks,

Alex

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

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

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 31 2025 06:18:31
Script start
Timing: Jan 31 2025 06:18:31
Module start 'layout'
Timing: Jan 31 2025 06:18:31
Module start 'content'
Timing: Jan 31 2025 06:18:32
Module end 'content'
Timing: Jan 31 2025 06:18:32
Script end

Main resources:

Total runtime1.2715 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.2656151.2266
Module start 'layout' 0.00570.0025 739.492236.6953
Module start 'content' 0.00821.2625 776.1875858.1797
Module end 'content' 1.27070.0008 1,634.36727.8125
Script end 1.2715  1,642.1797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2607160.0002
Check MTime0.00150.1190160.0001
Mysql Total
Database connection0.00080.066010.0008
Mysqli_queries1.227596.5416460.0267
Looping result0.00040.0340440.0000
Template Total1.230796.820.6154
Template load0.00190.150220.0010
Template processing1.228896.639620.6144
Template load and register function0.00140.112110.0014
states
state_id_array0.00160.124610.0016
state_identifier_array0.00140.113020.0007
Override
Cache load0.00150.1212150.0001
Sytem overhead
Fetch class attribute can translate value0.00060.049710.0006
Fetch class attribute name0.00160.127420.0008
XML
Image XML parsing0.00050.042910.0005
class_abstraction
Instantiating content class attribute0.00000.000320.0000
General
dbfile0.00230.1802160.0001
String conversion0.00000.000540.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/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: 7
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs