1
MSGDogs
Links help needed
  • 2006/5/12 14:37

  • MSGDogs

  • Just popping in

  • Posts: 45

  • Since: 2003/8/8 1


Hi guys
I want to ammend the main menu in mylinks so that when the user goes into the module the links to Submit Popular Top Rated dont show.....any ideas would be appreciated

2
rabideau
Re: Links help needed
  • 2006/5/12 14:50

  • rabideau

  • Home away from home

  • Posts: 1042

  • Since: 2003/4/25


Check out the XOOPS links on this site https://xoops.org/modules/mylinks/. There settings that allow you to do what you want. Also there are other download modules you can try if mylinks is not for you.
Pax vobiscum,
...mark

may the road rise to meet your feet!

http://treemagic.org

3
iHackCode
Re: Links help needed

if you want to edit the menu for the mylinks module (or any other module). you got to edit the xoops_version.php file for the module

for mylinks it looks like this. i added some comments from the dev wiki

// Menu
$modversion['hasMain'] = 1;//Put in the Main Menu (0 for no)

[color=CC0000]//Name of the submenu in the Main Menu (when you click on the module)
$modversion['sub'][1]['name'] = _MI_MYLINKS_SMNAME1;

//File to run in the module directory
$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";[/color]


the things in red you can delete and it will no longer be on the sub menu. but i think you will have to update' Resized Image the module for the changes to work. and you can change the text that shows (submenu) by editing the modinfo.php file in the include directory.

ModVersion XoopsDevWiki

and i think some modules have setting for showing/hiding submenu links to certain groups
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

4
MSGDogs
Re: Links help needed
  • 2006/5/12 15:20

  • MSGDogs

  • Just popping in

  • Posts: 45

  • Since: 2003/8/8 1


Thanks for the help guys...thats it sorted now

Login

Who's Online

463 user(s) are online (337 user(s) are browsing Support Forums)


Members: 0


Guests: 463


more...

Donat-O-Meter

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

Latest GitHub Commits