News Module category and archived news issue

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
dvanoss
Forum Members
Forum Members
Posts: 46
Joined: Mon Dec 18, 2006 9:21 pm

News Module category and archived news issue

Post by dvanoss »

I have a section in my site where the user can browse links to News Categories using

Code: Select all

{news browsecat="1" detailtemplate="categories" category="category1, category2"}
It displays the category name as a link with the number of articles in that category next to it, but it is numbering expired news as well, so that the listing is incorrect. I've tried adding

Code: Select all

showarchive="0"
in the code but that has had no effect. Is it possible to list only current news in the categories?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: News Module category and archived news issue

Post by calguy1000 »

Uhm.... I think that that's something that's not in the code at the moment.... It'd require a code change.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
dvanoss
Forum Members
Forum Members
Posts: 46
Joined: Mon Dec 18, 2006 9:21 pm

Re: News Module category and archived news issue

Post by dvanoss »

With the update to News 2.9.1, the categories are now displaying correctly without showing archived news as well. But if I choose to show only certain categories (with code category="category1, category2") as I need to do, the categories display results correctly but the link to show the articles is the same for each category, which displays all articles regardless of category.
Post Reply

Return to “CMSMS Core”