1
jrortiz
Remove menu item on Main Manu module
  • 2004/8/12 16:46

  • jrortiz

  • Just popping in

  • Posts: 7

  • Since: 2004/8/1 1


I am interested in removing a menu item on the main menu block.

I need to remove the "Affiliates" item under the OSC menu category.

Any ideas?

(Actually, I won't mind just removing the whole affiliate functionality in OSC since I don't need it and it will probably confuse people anyway...

Thanks...

Javi

2
jlm69
Re: Remove menu item on Main Manu module
  • 2004/8/12 17:09

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


look for the xoops_version.php for the OSC module look for this:

$modversion['hasMain'] = 1;
$modversion['sub'][1]['name'] = "Entrance";
$modversion['sub'][1]['url'] = "index.php";
$modversion['sub'][2]['name'] = "Specials";
$modversion['sub'][2]['url'] = "specials.php";
$modversion['sub'][3]['name'] = "Shopping Cart";
$modversion['sub'][3]['url'] = "shopping_cart.php";
$modversion['sub'][4]['name'] = "Checkout";
$modversion['sub'][4]['url'] = "checkout_shipping.php";
$modversion['sub'][5]['name'] = "Account";
$modversion['sub'][5]['url'] = "account.php";
$modversion['sub'][6]['name'] = "Affiliate";
$modversion['sub'][6]['url'] = "affiliate_affiliate.php";

remove the ['sub'] lines you don't want.
Then update the module.

Hope that helps.

3
jrortiz
Re: Remove menu item on Main Manu module
  • 2004/8/12 22:28

  • jrortiz

  • Just popping in

  • Posts: 7

  • Since: 2004/8/1 1


That Worked!!

Thanks

Login

Who's Online

278 user(s) are online (216 user(s) are browsing Support Forums)


Members: 0


Guests: 278


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