1
figu78
News Module
  • 2008/1/21 17:15

  • figu78

  • Just popping in

  • Posts: 60

  • Since: 2006/8/19


Hi all,

I would like to change the number of news items to display on top page. By default the array is 5,10,15,20,25,30 and i would like o change it to 6,8,10,15,20,25,30

Where shoud I change these numbers??? xoops_version.php???

Cheers,
Figu

2
christian
Re: News Module
  • 2008/1/21 18:00

  • christian

  • Just can't stay away

  • Posts: 401

  • Since: 2002/2/24


Hi,

Yes, you can update the file xoops_version.php here

$modversion['config'][1]['name'] = 'storyhome';
$modversion['config'][1]['title'] = '_MI_STORYHOME';
$modversion['config'][1]['description'] = '_MI_STORYHOMEDSC';
$modversion['config'][1]['formtype'] = 'select';
$modversion['config'][1]['valuetype'] = 'int';
$modversion['config'][1]['default'] = 5;
before
$modversion
['config'][1]['options'] = array('5' => 5'10' => 10'15' => 15'20' => 20'25' => 25'30' => 30);
After
$modversion
['config'][1]['options'] = array('6' => 6'8' => 8'10' => 10'15' => 15'20' => 20'25' => 25'30' => 30);

Next, you must go to admin system, modules and update the module.

3
figu78
Re: News Module
  • 2008/1/23 8:51

  • figu78

  • Just popping in

  • Posts: 60

  • Since: 2006/8/19


Thank you guys. works nice!

Login

Username:
Password:

Lost Password? Register now!

Who's Online

76 user(s) are online (41 user(s) are browsing Support Forums)


Members: 0


Guests: 76


more...

Donat-O-Meter

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

Latest GitHub Commits