1
dave_ca
Removing unused menu items from yogurt social gallery
  • 2008/6/29 21:02

  • dave_ca

  • Just popping in

  • Posts: 11

  • Since: 2008/6/29


Using yogurt_3_2_RC1, they add a menu and submenu to the left column XOOPS main menu.
I have disabled some of the submenu items, but they are still listed.

Any ideas on where to go to edit/remove them?

Thanks

2
chardiar
Re: Removing unused menu items from yogurt social gallery
  • 2008/7/1 15:16

  • chardiar

  • Just popping in

  • Posts: 91

  • Since: 2004/8/16


Hi dave_ca,

Go to modules/yogurt/xoops_version.php

in line 89 and put // in front menu
Examples:

//if ($moduleConfig['enable_scraps']==1){
//$modversion['sub'][3]['name'] = _MI_YOGURT_MYSCRAPS;
//$modversion['sub'][3]['url'] = "scrapbook.php";
//}
//if ($moduleConfig['enable_pictures']==1){
//$modversion['sub'][4]['name'] = _MI_YOGURT_MYPICTURES;
//$modversion['sub'][4]['url'] = "album.php";
//}
//if ($moduleConfig['enable_videos']==1){
//$modversion['sub'][5]['name'] = _MI_YOGURT_MYVIDEOS;
//$modversion['sub'][5]['url'] = "seutubo.php";
//}
//if ($moduleConfig['enable_friends']==1){
$modversion['sub'][6]['name'] = _MI_YOGURT_MYFRIENDS;
$modversion['sub'][6]['url'] = "friends.php";
//}
//if ($moduleConfig['enable_tribes']==1){
$modversion['sub'][7]['name'] = _MI_YOGURT_MYTRIBES;
$modversion['sub'][7]['url'] = "tribes.php";
//}

$modversion['sub'][8]['name'] = _MI_YOGURT_MYCONFIGS;
$modversion['sub'][8]['url'] = "configs.php";


Greetings.

3
dave_ca
Re: Removing unused menu items from yogurt social gallery
  • 2008/7/2 3:13

  • dave_ca

  • Just popping in

  • Posts: 11

  • Since: 2008/6/29


Hey thanks!

I've been searching through all the files for the references, I must have missed this one.

Thanks again!

4
dave_ca
Re: Removing unused menu items from yogurt social gallery
  • 2008/7/2 3:18

  • dave_ca

  • Just popping in

  • Posts: 11

  • Since: 2008/6/29


Just tried, it works great!

Login

Username:
Password:

Lost Password? Register now!

Who's Online

50 user(s) are online (27 user(s) are browsing Support Forums)


Members: 0


Guests: 50


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