1
gfcon
wf section
  • 2004/7/1 19:12

  • gfcon

  • Just popping in

  • Posts: 13

  • Since: 2004/3/22


Hello
I've installed wf section and is working great, but how do I change the title in the menu to something else, also how can I not show submit article, popular and rated?

Many Thanks

2
Bender
Re: wf section
  • 2004/7/1 19:31

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10



Which version of wf-section have you installed?

Quote:
how do I change the title in the menu to something else


You are talking about 'wfsection' which appears in the main menu?

Goto XOOPS Administration --> Modules and there you can change the name wish is displayed for every module including wf-section.

3
gfcon
Re: wf section
  • 2004/7/1 19:36

  • gfcon

  • Just popping in

  • Posts: 13

  • Since: 2004/3/22


Hi
I have version 1.0.4 I've changed the main name, but what about not showing the rest

Tanks

4
Bender
Re: wf section
  • 2004/7/1 19:52

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10


Working on it :)

please remember to backup the file before editing!

I don´t have a 1.04 version here to verify so this might not be exactly the same on your version.

check xoops_version.php in your wfsection directory:

Look out for:
$modversion['sub'][$i 2]['name'] = _MI_WFS_POPULAR;
$modversion['sub'][$i 2]['url'] = "topten.php?counter=1";
$modversion['sub'][$i 3]['name'] = _MI_WFS_RATEFILE;
$modversion['sub'][$i 3]['url'] = "topten.php?rate=1";


and comment it out like this:

//$modversion['sub'][$i + 2]['name'] = _MI_WFS_POPULAR;
//$modversion['sub'][$i + 2]['url'] = "topten.php?counter=1";
//$modversion['sub'][$i + 3]['name'] = _MI_WFS_RATEFILE;
//$modversion['sub'][$i + 3]['url'] = "topten.php?rate=1";


This will take care of the 'Popular' and 'Rated' entries.


There should be some if ... section some lines before that which includes two times:
$modversion['sub'][$i 1]['name'] = _MI_WFS_SUBMIT;
$modversion['sub'][$i 1]['url'] = "submit.php";


same here ... change it for both into:
//$modversion['sub'][$i + 1]['name'] = _MI_WFS_SUBMIT;
//$modversion['sub'][$i + 1]['url'] = "submit.php";


So it will take care of the submit link.

Hope it works for you.

5
gfcon
Re: wf section
  • 2004/7/2 7:35

  • gfcon

  • Just popping in

  • Posts: 13

  • Since: 2004/3/22


Hi
That worked a treat, thanks alot.

Login

Who's Online

466 user(s) are online (63 user(s) are browsing Support Forums)


Members: 0


Guests: 466


more...

Donat-O-Meter

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

Latest GitHub Commits