Hi all,
I've tried using the detailpage="news" attribute where 'news' is the page's alias i want the content loaded in - however its not taking effect, the news content still loads in the page it was called in. Is this a bug anyone else has experienced?
I'm using today's latest beta version from svn (0.12-beta1 "Fiji").
Thanks,
BK
detailpage attribute not taking effect in News module
Re: detailpage attribute not taking effect in News module
For me the tag also works. As I hacked a similiar tag into the last stable, I can tell you how it should work. Lets say you have a startpage with a short summary of news (for example 3 entries) and news page which also shows a summary page first and after clicking some details. Now the behaviour of the old news module was to show the details always in the page you clicked the link. With the new tag the complete content of the chosen alias page would be dropped and the details will be shown instead. But you must use an existing alias page!
Re: detailpage attribute not taking effect in News module
Hi Patricia, Larry,
I actually hacked this same functionality into the previous version of CMSMS, by adding an extra paramater into the CreateLink function - so I'm pretty clued up on how it worked.
Here's the strange thing - I've now got it working by cutting out all the parameters, then pasting it back in 1 parameter at a time and testing.
{cms_module module="news" dateformat="%b %d, %Y" summarytemplate="news-summary.tpl" detailpage="news" detailtemplate="news-display.tpl"}
Works like a dream now. I havn't a clue why it didnt work yesterday, I havnt changed anything in my site or my code. Its really strange
Many thanks for your time all the same!
I actually hacked this same functionality into the previous version of CMSMS, by adding an extra paramater into the CreateLink function - so I'm pretty clued up on how it worked.
Here's the strange thing - I've now got it working by cutting out all the parameters, then pasting it back in 1 parameter at a time and testing.
{cms_module module="news" dateformat="%b %d, %Y" summarytemplate="news-summary.tpl" detailpage="news" detailtemplate="news-display.tpl"}
Works like a dream now. I havn't a clue why it didnt work yesterday, I havnt changed anything in my site or my code. Its really strange

Many thanks for your time all the same!
Re: detailpage attribute not taking effect in News module
I don´t use the tpl´s, I´m editing the templates in the news template admin, therefore I don´t know. But great to hear it works now.
Re: detailpage attribute not taking effect in News module
I encountered the same problem: I am unable to use pagealias - has no effect. It might be an issue on some accounts with mod_rewrite since I have problems using mod_rewrite on my install as well. I will dig deeper into this next week and hoepfully come up with a solution.
Or has anybody else a good hint?
Regards,
Nils
Or has anybody else a good hint?
Regards,
Nils
Re: detailpage attribute not taking effect in News module
Sorry to follow up on this old topic, but did any of you get the detailpage parameter to work? I'm currently trying out the 0.13-beta1 which includes the 2.0.3 version of the News module, and it seems that this parameter doesn't work when mod_rewrite is used.
Re: detailpage attribute not taking effect in News module
Yeah, there is a bug in 0.13.1 with it. I did get it fixed, and you can see the results on the cmsmadesimple.org site. beta2 should be out soon.
Re: detailpage attribute not taking effect in News module
Sounds great! Another thing, is there any way of getting Markdown to render News content?