1
luciano
[SOLVED] How to get rid of the submenu's like "popular" in mylinks?
  • 2004/8/12 15:34

  • luciano

  • Quite a regular

  • Posts: 261

  • Since: 2003/11/3


Hi,

Where do I have to look, I cloned the templates but that didn't help me any further. Is there someone that can tell me what to do? Thanks.


2
jlm69
Re: How to get rid of the submenu's like "popular" in mylinks?
  • 2004/8/12 15:38

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


In mylinks/xoops_version.php look for:

$modversion['hasMain'] = 1;
$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";

remove the ['sub'] that you want to get rid of.

EDIT "I forgot to mention you need to update the module after"

Hope that helps.

3
luciano
Re: How to get rid of the submenu's like "popular" in mylinks?
  • 2004/8/12 18:03

  • luciano

  • Quite a regular

  • Posts: 261

  • Since: 2003/11/3


It worked, thanks a lot!

Login

Who's Online

227 user(s) are online (149 user(s) are browsing Support Forums)


Members: 0


Guests: 227


more...

Donat-O-Meter

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

Latest GitHub Commits