Sunday 13 November 2005 9:34:22 pm
Hi all, more problems with things going missing when browsing the site, this time it's the site title thats missing. I'm using the standard page_head.tpl, as soon as I go to an url such as "user/edit" or "content/edit" or even "content/advancedsearch" the title is missing (except for the name of the top node) but here on ez.no this is not the case. This is the code, I imagine this is the same code that ez.no uses, I've done nothing to change it?
{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>
I have tried fetching the $module_result.path into the pages in question but it seems to be unable to find the path, is this normal behaviour? Please help if you know what may cause this... Deadline approaching rapidly. Cheers!
Pardon me while I burst into flames...
|