Use News summary within Title, How?
Posted: Sat Dec 13, 2008 10:20 am
Hi,
I thought it'd be a good idea to be able to use the news summary within the title tag. I've set up the news to use a different detailtemplate and a detailpage. This detailpage uses a new news_detail page template.
So I thought I could use this within this template
{eval var=$entry->summary}
This page template is only used to display news items but I see a smarty error: missing var parameter. I think I'm missing something fundemental here. I thought that this var would be passed to the page. The url string is passing things correctly because I can see the news article. I'm thinking this is because $entry is not setting?
Can anyone point me in the right direction?
Sarah
I thought it'd be a good idea to be able to use the news summary within the title tag. I've set up the news to use a different detailtemplate and a detailpage. This detailpage uses a new news_detail page template.
So I thought I could use this within this template
{eval var=$entry->summary}
This page template is only used to display news items but I see a smarty error: missing var parameter. I think I'm missing something fundemental here. I thought that this var would be passed to the page. The url string is passing things correctly because I can see the news article. I'm thinking this is because $entry is not setting?
Can anyone point me in the right direction?
Sarah