Page title problem

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Larske
New Member
New Member
Posts: 3
Joined: Mon May 11, 2009 6:25 pm

Page title problem

Post 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?
JeremyBASS

Re: Page title problem

Post 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
Larske
New Member
New Member
Posts: 3
Joined: Mon May 11, 2009 6:25 pm

Re: Page title problem

Post by Larske »

That was the one that i just found to, that method works!

Thank you for your reply
Post Reply

Return to “CMSMS Core”