1
turnerrw
News 1.2.1 stuck in the Past ... not displaying most recent artilces
  • 2005/3/14 17:12

  • turnerrw

  • Just popping in

  • Posts: 68

  • Since: 2003/12/1


I have a strange problem with News 1.2.1 on XOOPS 2.0.7.3.

If a user clicks the News Menu, they get this URL
http://hostname/modules/news/index.php?storytopic=0&storynum=15

The most recent story returned for this page is dated 3/9. We publish news every day or 2, and there are stories that are not listed.

If a user selects a topic, then the correct stories are returned, for instance...

http://hostname/modules/news/index.php?storytopic=5&storynum=15
works correctly.

What could be causing the general cross-topic query to be stuck on 3/9 (which is approximately when I upgraded from News 1.1 to 1.2.1)?

2
turnerrw
Re: News 1.2.1 stuck in the Past ... not displaying most recent artilces
  • 2005/3/14 17:39

  • turnerrw

  • Just popping in

  • Posts: 68

  • Since: 2003/12/1


When in doubt ... look in the database.

I noticed that all new articles published since the news module upgrade had the ihome field set to 1 (publish in home = no).

Publish in Home "No" is the default switch for the publish template. is there a switch somewhere to set the default to Yes, or must I edit the template by hand? I did not see anything on the Preferences page.

3
turnerrw
Re: News 1.2.1 stuck in the Past ... not displaying most recent artilces
  • 2005/3/14 17:43

  • turnerrw

  • Just popping in

  • Posts: 68

  • Since: 2003/12/1


I edited /modules/news/admin/index.php under the section case=newarticle and changed the line from

ihome = 1; to ihome = 0;

Is this the correct procedure for this issue, or is there a cleaner fix?

4
hervet
Re: News 1.2.1 stuck in the Past ... not displaying most recent artilces
  • 2005/3/14 18:03

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Hello,

Yes there is a cleaner fix, upgrade to the 1.3 version

Bye,
Hervé

Login

Who's Online

387 user(s) are online (53 user(s) are browsing Support Forums)


Members: 0


Guests: 387


more...

Donat-O-Meter

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

Latest GitHub Commits