News Module Detailtemplate

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
felixSchl
New Member
New Member
Posts: 6
Joined: Thu Apr 14, 2011 8:38 am

News Module Detailtemplate

Post 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
felixSchl
New Member
New Member
Posts: 6
Joined: Thu Apr 14, 2011 8:38 am

Re: News Module Detailtemplate

Post 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.
Post Reply

Return to “The Lounge”