1
arash101
xoops backend.php
  • 2005/9/16 0:06

  • arash101

  • Just popping in

  • Posts: 31

  • Since: 2005/4/9 1


Hello,
How do I get the backend.php file that comes with XOOPS to show the very latest 10 news items?. I noticed that it is only picking the articles published in "Home" from the news module. I want it to select the 10 most recent news from all the categories in the news module. How can I do this?. Please explain and tell me what to edit. I noticed the javascript file backendjs.php is showing the latest articles from all the sections. Please help

Thanks,
Ed

2
hervet
Re: xoops backend.php
  • 2005/9/16 16:44

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


I will study this for a next release

3
arash101
Re: xoops backend.php
  • 2005/9/16 17:50

  • arash101

  • Just popping in

  • Posts: 31

  • Since: 2005/4/9 1


Thanks Herve.. This is great news. I can't wait for the next release.. Also on another issue, it would be nice if the articles can be removed automatically from the news section once they have been archived every month. This way only the articles for the current month will be in the news section. This will be a great feature for the next version of the news module..

Any idea when this will be resolved?.

4
pegasus00321
Re: xoops backend.php

In backend.php for 2.2? Are you using that?
$sarray = NewsStory::getAllPublished(10, 0);
I think thats what controls how many it grabs, try changing that 10.
Pegasus00321


I would appricate it if you click this link
TuFat.com PHP Scripts and etc

5
arash101
Re: xoops backend.php
  • 2005/9/18 17:04

  • arash101

  • Just popping in

  • Posts: 31

  • Since: 2005/4/9 1


I am using XOOPS version 2.0.9.2. it's the backend.php file version 1.13 that came with xoops. it already has this line below:

$sarray=NewsStory::getAllpublished(10,0);
The problem is with what stories it grabs. It's only grabbing stories that are published in the home section of the news module. It won't grab any other story. How can I get it to grab stories from all the sections of the news module?. do youhave the latest version of the backend.php file?. can you post the link for me to download it?. will this work for me?.

Thanks,
Ed.

6
Fireater
Re: xoops backend.php
  • 2005/9/29 7:29

  • Fireater

  • Friend of XOOPS

  • Posts: 65

  • Since: 2002/1/4 1


Take a look at this discussion.. your answer is here..

http://www.testdriven.com/modules/newbb/viewtopic.php?topic_id=562&forum=5
Testdriven.com

ALSO, the DEVS need to see this.

The RSS feed of TESTDRIVEN.com website seems to offer many more choices over the standard backend.php..

life for example that site WHICH RUNS XOOPS offers both news and Links as a RSS feed, also mutiple feeds with different numbers of news articles.

Kindly incorporate this feature into the next release.

RSS is gaining popularity and soon many will be using RSS readers INSTEAD of browsers!!

Jagan Mohan R.
Whatever you do will be insignificant, but it is most important that you do it.
-- Gandhi

7
LazyBadger
Re: xoops backend.php

Hmmm... maybe just send backend.php to trash and don't forget about RSSFit?
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

8
hervet
Re: xoops backend.php
  • 2005/10/3 17:56

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


may be...

Login

Who's Online

269 user(s) are online (164 user(s) are browsing Support Forums)


Members: 0


Guests: 269


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