• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: News Module Detailtemplate
PostPosted: Wed Aug 17, 2011 6:00 am 
Offline
New Member

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


Top
 Profile  
 
 Post subject: Re: News Module Detailtemplate
PostPosted: Wed Aug 24, 2011 11:43 am 
Offline
New Member

Joined: Thu Apr 14, 2011 8:38 am
Posts: 6
*Bump*

I am still struggeling with this.

I am doing:
Code:
{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/skydome-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/Quick-Save-Maps/d,Scripts/

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Arvixe - A CMSMS Partner