Page 1 of 1
Anybody get a news item's title to appear as the page title yet with 1.4?
Posted: Sun Aug 24, 2008 5:08 pm
by anthony
I saw in the changelog that it should now be possible to get a news item's title to be the page title on your detail pages. I was just wondering if anybody was able to get this working yet and if so, had an example.
Thanks!
Re: Anybody get a news item's title to appear as the page title yet with 1.4?
Posted: Sun Aug 24, 2008 5:32 pm
by calguy1000
Re: Anybody get a news item's title to appear as the page title yet with 1.4?
Posted: Mon Aug 25, 2008 8:14 pm
by anthony
Nice, did you have to do anything special to get it working?
I'm trying to add it to my news items, and have this in my template but it is not working. Any help would be appreciated.
Re: Anybody get a news item's title to appear as the page title yet with 1.4?
Posted: Fri Oct 31, 2008 4:03 pm
by kendo451
Calguy, your blog doesn't have any articles explaining how to put New Item in the title on the detail page.
Re: Anybody get a news item's title to appear as the page title yet with 1.4?
Posted: Fri Jan 02, 2009 3:16 pm
by dmgd
Use advanced google search and search the site.
Re: Anybody get a news item's title to appear as the page title yet with 1.4?
Posted: Fri Jan 02, 2009 7:54 pm
by Dr.CSS
Re: Anybody get a news item's title to appear as the page title yet with 1.4?
Posted: Sat Jan 03, 2009 11:33 pm
by kendo451
Here's the answer:
Do this in the head tag.
{content assign="content"} {* This will cause the news module to insert it's stuff in the content tag - which also makes all the News SMARTY objects available. *}
{$entry->title}
Now mark this post as solved.