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!
Anybody get a news item's title to appear as the page title yet with 1.4?
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Anybody get a news item's title to appear as the page title yet with 1.4?
Read the blog at http://calguy1000.com
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Anybody get a news item's title to appear as the page title yet with 1.4?
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.
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.
Code: Select all
<title>{$entry->title}</title>
Re: Anybody get a news item's title to appear as the page title yet with 1.4?
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?
Use advanced google search and search the site.
Mark
Re: Anybody get a news item's title to appear as the page title yet with 1.4?
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.
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.