Page 1 of 1

News Module category and archived news issue

Posted: Thu Jan 03, 2008 7:13 pm
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?

Re: News Module category and archived news issue

Posted: Thu Jan 03, 2008 7:32 pm
by calguy1000
Uhm.... I think that that's something that's not in the code at the moment.... It'd require a code change.

Re: News Module category and archived news issue

Posted: Mon Dec 15, 2008 6:02 pm
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.