On the main page of my site I show the latest news or, when the expiration date has come, no news at all.
But, on my site there is also a page for all the news messages.
But what code can I use to show all running messages and all expired messages too ? When I add showarchive="1" just the expired messages are shown or else it's just the running ones.
How to show ALL news messages ?
How to show ALL news messages ?
________________________________
Je gaat het pas zien als je het doorhebt.
Je gaat het pas zien als je het doorhebt.
Re: How to show ALL news messages ?
Vin,
I think he means that with the default tag, you see all news-entries that AREN'T expired. Using the "showarchive" shows ONLY expired entries. He wants an overall list showing both expired AND non-expired news in a single list.
Ronny
This post suggests that a solution is to be found in DEV, I didn't check it though:
http://forum.cmsmadesimple.org/index.ph ... l#msg29991
I think he means that with the default tag, you see all news-entries that AREN'T expired. Using the "showarchive" shows ONLY expired entries. He wants an overall list showing both expired AND non-expired news in a single list.
Ronny
This post suggests that a solution is to be found in DEV, I didn't check it though:
http://forum.cmsmadesimple.org/index.ph ... l#msg29991
Last edited by RonnyK on Thu Apr 19, 2007 1:36 pm, edited 1 time in total.
-
Vin
Re: How to show ALL news messages ?
Sorry, deleted the post without refreshing the page...I forgot a little how the news are working and wanted to write a brand new post...
I think it's possible to have two tags in the page, the first just {news} or {cms_module module='News'} and the second with the attribute showarchive.
I think it's possible to have two tags in the page, the first just {news} or {cms_module module='News'} and the second with the attribute showarchive.
Re: How to show ALL news messages ?
Vin,
you're right, that would work as well. Only you don't have a single order as you're pulling to different blocks seperately. In fact is that the way I normally do it. I have a single page with the non-expired news and another page with all the archived data.
Ronny
you're right, that would work as well. Only you don't have a single order as you're pulling to different blocks seperately. In fact is that the way I normally do it. I have a single page with the non-expired news and another page with all the archived data.
Ronny
Re: How to show ALL news messages ?
I will have a look at this option but I don't know how to implement thins solution into the module itself. Where do I need to add this diff-file ?RonnyK wrote:
This post suggests that a solution is to be found in DEV, I didn't check it though:
http://forum.cmsmadesimple.org/index.ph ... l#msg29991
________________________________
Je gaat het pas zien als je het doorhebt.
Je gaat het pas zien als je het doorhebt.
-
Vin
Re: How to show ALL news messages ?
See this post - http://forum.cmsmadesimple.org/index.ph ... l#msg14964.
If anyone can explain it better, please do. I searched the docs (perhaps not properly), but I couldn't find more gentle way of learning the SVN updating.
If anyone can explain it better, please do. I searched the docs (perhaps not properly), but I couldn't find more gentle way of learning the SVN updating.


