Forums / Setup & design / Best Way to Reverse Order of Items in Title Tag?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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>