I created new page and added title for that page. Within that page I'm writing news. But when I open news details it show me page title not news title.
how to make it to show news title, not page title all the time
News title as page title
Re: News title as page title
alter your page template:
This code initially assigns value of {title} to variabele $title. It needs to be placed above the <__html> opening tag.
then inside your News detail template:
Or something like that. This code assigns a new value to $title.
Code: Select all
{title assign='title'}
<__html>
<head><title>{$title}</title></head>
then inside your News detail template:
Code: Select all
{assign var='title' value=$entry->title}
Re: News title as page title
thank you It helped me 
