Wednesday 03 December 2003 7:45:05 am
hi, I have include the page_head.tpl from the standard design folder to my templates. How can I change it, that the title doesn't include the RootFolder. home - SiteName and not home / Root Folder - Sitename, if I go in the folder home for example. I try some things, but it's not ok. This is from the page_head.tpl
{let name=Path
path=$module_result.path
reverse_path=array()}
{section show=is_set($module_result.title_path)}
{set path=$module_result.title_path}
{/section}
{section loop=$:path}
{set reverse_path=$:reverse_path|array_prepend($:item)} {/section}
{set-block scope=root variable=site_title}
{section loop=$Path:reverse_path}{$:item.text|wash}{delimiter} / {/delimiter}{/section} - {$site.title|wash}
{/set-block} {/let} <title>{$site_title}</title> thank you Dominik
|