1
kraphael
MyLinks Module - How do I change what is included in Menu?
  • 2004/12/19 21:23

  • kraphael

  • Just popping in

  • Posts: 5

  • Since: 2003/9/5 2


I would like to modify what shows up in the main menu for Web Links.

I do not want the menu options "Popular" and "Top Rated" to show up in the menu.

What file do I modify to do this?

Thanks!

2
rowdie
Re: MyLinks Module - How do I change what is included in Menu?
  • 2004/12/19 22:02

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


mylinks/xoops_version.php

comment out the sub menu options by using '//' in front of the ones you don't want

$modversion['sub'][1]['name'] = _MI_MYLINKS_SMNAME1;
$modversion['sub'][1]['url'] = "submit.php";
// $modversion['sub'][2]['name'] = _MI_MYLINKS_SMNAME2;
// $modversion['sub'][2]['url'] = "topten.php?hit=1";
// $modversion['sub'][3]['name'] = _MI_MYLINKS_SMNAME3;
// $modversion['sub'][3]['url'] = "topten.php?rate=1";


Then update the mylinks module.

Rowd

Login

Who's Online

498 user(s) are online (59 user(s) are browsing Support Forums)


Members: 0


Guests: 498


more...

Donat-O-Meter

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

Latest GitHub Commits