Page 1 of 1
News Module - Detail view on a different page template?
Posted: Mon Dec 22, 2008 5:41 pm
by kalozura
Hello every one
Is there a way to have the details view be displayed on a different page template? (not a news details template)
currently I have the summary view displaying 2 columns one for the posts and the other for the categories. But in detail View i just want to show the post and not the column on the right with the categories.
Is there a way to do that?
Thanks
KZ
Re: News Module - Detail view on a different page template?
Posted: Mon Dec 22, 2008 5:54 pm
by korpirkor
Create new page ("Newss") with your template.
{cms_module module="news" detailpage="Newss"}
Re: News Module - Detail view on a different page template?
Posted: Mon Dec 22, 2008 6:21 pm
by kalozura
I had tried something like this but didn't work: {news number='9' detailpage="Newss"}
I will try it your way {cms_module module="news" detailpage="Newss"}
thanks!
Re: News Module - Detail view on a different page template?
Posted: Tue Dec 23, 2008 12:17 am
by korpirkor
Newss is just page alias
Re: News Module - Detail view on a different page template?
Posted: Wed Dec 24, 2008 12:38 am
by kalozura
I created a new page called "Details" and has the same alias, then on the news section I added {cms_module module="news" detailpage="Details"} but nothing is happening. Am I doing something wrong?
Re: News Module - Detail view on a different page template?
Posted: Wed Dec 24, 2008 2:04 am
by korpirkor
In my case it works fine ( I have even crated Details page

)
Re: News Module - Detail view on a different page template?
Posted: Wed Dec 24, 2008 7:53 am
by RonnyK
kalozura,
be aware that the page you are pointing at, is the pagealias of a page. Normally these pages dont have Capitals, so a page created called "Details", will have an default alias called "details", this is visible on the options-tab of the created page.
In your case, I would create a page called "Details", with the alias "details" and "show in menu" unchecked. Attach that page to the template you want. When calling News, with the detailpage-parameter, the details will open in that page, holding that template.
Ronny