1
badb0iie
new settings & home page
  • 2009/8/25 20:49

  • badb0iie

  • Just popping in

  • Posts: 41

  • Since: 2009/8/1 2


i would like only 1 or 2 of my news feeds on my home page..
but the settings only show 5 or higher..

Number of new articles to display in admin area (this option will be also used to limit the number of topics displayed in the admin area and it will be used in the statistics) : 5

where do i go to fix it to show lower options?

2
Mazar
Re: new settings & home page
  • 2009/8/25 21:14

  • Mazar

  • Not too shy to talk

  • Posts: 191

  • Since: 2009/1/4 0


find this code block in xoopsversion.php of your news module
Select the number of news items to display on top page
 
*/
$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;
$modversion['config'][1]['options'] = array('5' => 5'10' => 10'15' => 15'20' => 20'25' => 25'30' => 30);


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

3
badb0iie
Re: new settings & home page
  • 2009/8/26 4:15

  • badb0iie

  • Just popping in

  • Posts: 41

  • Since: 2009/8/1 2


=) Thanks for your help

Login

Who's Online

71 user(s) are online (44 user(s) are browsing Support Forums)


Members: 0


Guests: 71


more...

Donat-O-Meter

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

Latest GitHub Commits