1
joeyell
Editing news - display more than 10 last articles
  • 2004/2/10 21:30

  • joeyell

  • Just popping in

  • Posts: 7

  • Since: 2004/1/4 1


I would like to know if it is possible to display more than 10 last articles in "Post/Edit News".

Thanks for help.

2
kahumbu
Re: Editing news - display more than 10 last articles
  • 2004/2/10 22:56

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


It's possible but you need to hack the php files.

Open modules/news/admin/index.php of your site. Look for this in line 104:
$storyarray NewsStory::getAllPublished(10001);

Change the 10 to 20 (or something else).

For expired articles, go to line 136:
$storyarray NewsStory::getAllExpired(10001);

Change the 10 to another number.

For finishing touches, go to the language files and edit out the "Last 10 Articles" constant.

Login

Who's Online

436 user(s) are online (304 user(s) are browsing Support Forums)


Members: 0


Guests: 436


more...

Donat-O-Meter

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

Latest GitHub Commits