Bugs In News Module Found
Posted: Tue Feb 26, 2008 4:53 pm
I have come across a number of bugs in the News module v2.6.1.
sortby="news_category" option does not work. Whether or not this is because of using the browsecat function I don't know but surely the point of sortby="news_category" is to use it for that very purpose.
Also if I have e.g.
Latest News
{news browsecat="1" browsecattemplate="browsecat.tpl" sortby="news_category" detailpage="articles" detailtemplate="detailed.tpl" summarytemplate="summary.tpl"}
Archive News
{news browsecat="1" browsecattemplate="browsecat.tpl" showarchive="1" sortby="news_category" detailpage="articles" detailtemplate="detailed.tpl" summarytemplate="summary.tpl"}
In the archive news listing if there is only one article in a category and even though the article has not expired the category link becomes active but of course if one clicks on it then the summary page is empty.
The counter function to show the number of articles does not understand if an article is expired or not i.e. both latest news and archived news shows the same count number next to each category.
All templates are the standard ones.
sortby="news_category" option does not work. Whether or not this is because of using the browsecat function I don't know but surely the point of sortby="news_category" is to use it for that very purpose.
Also if I have e.g.
Latest News
{news browsecat="1" browsecattemplate="browsecat.tpl" sortby="news_category" detailpage="articles" detailtemplate="detailed.tpl" summarytemplate="summary.tpl"}
Archive News
{news browsecat="1" browsecattemplate="browsecat.tpl" showarchive="1" sortby="news_category" detailpage="articles" detailtemplate="detailed.tpl" summarytemplate="summary.tpl"}
In the archive news listing if there is only one article in a category and even though the article has not expired the category link becomes active but of course if one clicks on it then the summary page is empty.
The counter function to show the number of articles does not understand if an article is expired or not i.e. both latest news and archived news shows the same count number next to each category.
All templates are the standard ones.