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?