1
emilsoft
Displaying 3 topics on the frontpage...
  • 2004/9/11 16:24

  • emilsoft

  • Just popping in

  • Posts: 34

  • Since: 2004/7/23


Hi, I'd like to configure XOOPS so only the latest 3 news will be displayed. XOOPS's ACP only gives the option of 5 and above, is there any hack or manual modification I could make to lower it to only 3?

Thanks.

2
sbkiller
Re: Displaying 3 topics on the frontpage...
  • 2004/9/11 18:39

  • sbkiller

  • Just can't stay away

  • Posts: 461

  • Since: 2004/6/9 2


Yes you could.. hack it I will found it for you because I want 3 topics too not 5 but I forgot about it because is not a big problem unless I have a long news.

3
sbkiller
Re: Displaying 3 topics on the frontpage...
  • 2004/9/11 19:06

  • sbkiller

  • Just can't stay away

  • Posts: 461

  • Since: 2004/6/9 2


1. Open or edit "xoops_version.php" in the news module

2. Goto line 138

$modversion['config'][1]['options'] = array('5' => 5'10' => 10'15' => 15'20' => 20'25' => 25'30' => 30);


3. Change the code to

$modversion['config'][1]['options'] = array('1' => 1'2' => 2'3' => 3'5' => 5'10' => 10'15' => 15'20' => 20'25' => 25'30' => 30);


4. Save it and upload if needed then go to Admin area

5. Mouse over "System Admin" icon

6. Click "Modules"

7. Look for "News" module

8. Click the Update icon in the "Action" column

9. Goto News Preference

10. Change to "3"

Your Done!!!

4
emilsoft
Re: Displaying 3 topics on the frontpage...
  • 2004/9/11 19:12

  • emilsoft

  • Just popping in

  • Posts: 34

  • Since: 2004/7/23


It worked! Thank You very much for your help.

Login

Who's Online

254 user(s) are online (175 user(s) are browsing Support Forums)


Members: 0


Guests: 254


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