Page title problem
Posted: Mon May 11, 2009 6:32 pm
I had the problem that on news pages online the title of the homepage showed up.
I fixed this with the following script:
How do i get this to work in the page to and not only in the head tag?
I fixed this with the following script:
I also want to use this in my page, i have tried this with this script:{if isset($pagetitle) && !empty($pagetitle)}
{sitename} - {$pagetitle}
{else}
{sitename} - {title}
{/if}
When i use the above script i have my old problem back, only the title of the Home page is displayed.{if isset($pagetitle) && !empty($pagetitle)}
{$pagetitle}
{else}
{title}
{/if}
How do i get this to work in the page to and not only in the head tag?