1
javelin
WF-Section - small hack?
  • 2005/10/12 21:55

  • javelin

  • Not too shy to talk

  • Posts: 160

  • Since: 2004/3/11


I feel sure this must have been done before by someone,

In the wf-section pref's you can select between 1 to 7 titles to be listed in the section listings.

How can I increase the number of titles to 10 or even more?

Ive tried to find this bit of code without much success.


Cheers
Mike
I might not be very clever but I can lift heavy weights!

2
javelin
Re: WF-Section - small hack?
  • 2005/10/13 12:45

  • javelin

  • Not too shy to talk

  • Posts: 160

  • Since: 2004/3/11


OK found it,

If you would like more titles to show in the wf-sections index page go to,
html\modules\wfsection\xoops_version.php

line 369,
Quote:
$modversion['config'][19]['options'] = array('1' => 1, '2' => 2, '3' => 3, '4' => 4, '5' => 5, '6' => 6, '7' => 7);


I ammended it to read,

Quote:
$modversion['config'][19]['options'] = array('1' => 1, '2' => 2, '3' => 3, '4' => 4, '5' => 5, '6' => 6, '7' => 7, '8' => 8, '9' => 9, '10' => 10);


I now have 10 aticles listed instead of the standard 1 to 7.

Not seen any knock on effects yet.

I might not be very clever but I can lift heavy weights!

Login

Who's Online

250 user(s) are online (192 user(s) are browsing Support Forums)


Members: 0


Guests: 250


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