Page 1 of 1

News Module Detailtemplate

Posted: Wed Aug 17, 2011 6:00 am
by felixSchl
Hi,

I am (ab)using the news module to post new scripts on my page. I also want clean URLs, so I give each article a corresponding URL. When calling the URL, however, it will always load the "default detail template" and set the page to "home". I understand I can change that, however, I would prefer it if I could tell each article which detail template to use and what page it belongs to.

Any ideas as to how to resolve this?

Thanks,
Felix

Re: News Module Detailtemplate

Posted: Wed Aug 24, 2011 11:43 am
by felixSchl
*Bump*

I am still struggeling with this.

I am doing:

Code: Select all

{news category="Photoshop" summarytemplate="news" detailtemplate="news" detailpage="Photoshop"}
I do have a page alias "Photoshop" and the template used in that page uses the normal {content} block which is ougth to be replaced by the news module. However, it always falls back to the detailpage default template that I defined in the News options and I cannot understand why.

I have been searching for hours now, I would really appreciate your input on this matter :)

Here is an example on my live site.

This news entry was given a URL. As you can see it opens in the "home" page instead of in snippets/maya as the URL would suggest.
http://felixschlitter.com/snippets/maya ... generator/

This news entry, on the other hand, has not been given a URL. It seems to load in the correct page, however some weird smarty error occurs plus the URL looks quirky.
http://felixschlitter.com/news/8/69/Qui ... d,Scripts/

Why has this been moved to the "Lounge"? Well, I can only hope someone stumbles across this one then.