detailpage attribute not taking effect in News module

A place to discuss the testing process in beta cycles or against SVN for the CMS Made Simple CORE package.
Locked
BK

detailpage attribute not taking effect in News module

Post by BK »

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
LeisureLarry

Re: detailpage attribute not taking effect in News module

Post by LeisureLarry »

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!
BK

Re: detailpage attribute not taking effect in News module

Post by BK »

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!
LeisureLarry

Re: detailpage attribute not taking effect in News module

Post by LeisureLarry »

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.
nils73
Power Poster
Power Poster
Posts: 520
Joined: Wed Sep 08, 2004 3:32 pm

Re: detailpage attribute not taking effect in News module

Post by nils73 »

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
hansom

Re: detailpage attribute not taking effect in News module

Post by hansom »

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.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: detailpage attribute not taking effect in News module

Post by Ted »

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.
hansom

Re: detailpage attribute not taking effect in News module

Post by hansom »

Sounds great! Another thing, is there any way of getting Markdown to render News content?
Locked

Return to “[locked] Quality Assurance”