1
SMEDrieben
News 1.64 - 1.66: page counter index page problem and category restriction problem
  • 2010/11/5 10:15

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


I've discovered two bugs (I think) in News 1.66 (Xuups version) under 2.4.5. I think - retrospectively - these were already present in News 1.64 under Xoops 2.3

1) The page counter on the index page of News is not working correctly. If there are some categories that you don't want to show on the index page (which can be indicated per category, in the topics table), the news items in these categories are taking into account in the page counter. E.g.: 100 news item total, 20 in categories not to be shown on index page: you expect on the index page 8 pages of 10 items. The page counter on the index page indicates 10 pages. When you look at page 9 and 10, they are empty (no news items). I think this is a bug: the page counter shouldn't count items in the "categories not to be displayed" and should indicate 8 pages (of 10 items per page).

2) Xoops search doesn't work correctly if in News the option "restricted categories not on index page" is activated.
If you create some categories with limited access in News (e.g. acces for registered users but not for anonymous users), the Xoops search doesn't find correctly all articles in the public categories. E.g.: if you have 20 articles with "searchword" in public categories, and the "restricted categories not on index page" is off, Xoops finds 20 articles searchin for "searchword"; if the "restricted categories not on index page" is activated, Xoops finds 5 articles searching for "searchword", even if the other 15 are in the public categories.

Do you have any ideas for solutions ?

Thanks !

Drieben

Login

Who's Online

249 user(s) are online (167 user(s) are browsing Support Forums)


Members: 0


Guests: 249


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits