Page 1 of 1

Page title problem

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

Re: Page title problem

Posted: Mon May 11, 2009 7:47 pm
by JeremyBASS
I'd check this one out...

http://forum.cmsmadesimple.org/index.ph ... 475.0.html

there are two way to handle it in there...

hope that helps
Cheers
jeremyBass

Re: Page title problem

Posted: Mon May 11, 2009 8:36 pm
by Larske
That was the one that i just found to, that method works!

Thank you for your reply