Hello, I know that this topic has been asked before and I've been successful using the following in 1.11 CMSMS but I'm trying to get the news titles to show as the page titles in CMSMS 2.0 and I cannot get it to work.
in my news detail template
{assign var='alt_title' value=$entry->title}
and in my site template:
{if isset($alt_title)}
<title>{sitename} - {$alt_title}</title>
{else}
<title>{sitename} - {title}</title>
{/if}
Any help would be appreciated.
Thank you,
Monte
Setting page's title to be the News title
-
- Forum Members
- Posts: 64
- Joined: Wed Jul 03, 2013 7:44 pm
Re: Setting page's title to be the News title
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
-
- Forum Members
- Posts: 64
- Joined: Wed Jul 03, 2013 7:44 pm
Re: Setting page's title to be the News title
Thank you Rolf! This solved my issue.
Re: Setting page's title to be the News title
Consider buying him a cup of coffee 

- angelpeace
- Forum Members
- Posts: 39
- Joined: Fri May 15, 2009 9:45 am
Re: Setting page's title to be the News title
{assign var='alt_title' value=$entry->title scope='global'}