Page 1 of 1

[solved] News Module returnid Issue

Posted: Thu Jun 03, 2010 3:21 pm
by budbuck
Hello All,

I'm basically just getting started using CMSMS, but have come across an issue that has me stumped.

I've setup several categories in the news module. I want to display one of these categories on the homepage ("/"), using a summary template that I have created. There's also a subpage ("/foo") in my site that will basically show the same information, but use a different summary template (different styles mostly)

In both spots, I'm referencing {news category="blah" summarytemplate="blah_summary" number="5"} in my {content}.

On the home page, {eval var=$entry->link} in my summary template is returning ".../news/2/15/..." and redirecting back to the root, but on page /foo, I'm getting ".../news/2/78/..." and going to the article as I would expect.  

I'm not sure what to change to get the correct returnid while on the homepage. Any advice would be appreciated! Thanks!

Re: News Module returnid Issue

Posted: Thu Jun 03, 2010 4:39 pm
by klenkes
How about calling the news on the homepage like this:

{news category="blah" summarytemplate="blah_summary" number="5" detailpage="foo"}

Should work!

Re: News Module returnid Issue

Posted: Thu Jun 03, 2010 5:03 pm
by budbuck
Yes! That did the job... Thanks!!