sarvan75 / yii-user-management

Automatically exported from code.google.com/p/yii-user-management
0 stars 0 forks source link

YUM menu interferes with MBmenu #160

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use MBmenu extension with 5 main items or more 
2. Use YUM module
3. Login

What is the expected output? What do you see instead?
I expected to see my MBmenu unmodified. YUM hides some items from MBmenu

What version of the product are you using? On what operating system?
YII 1.1.8, YUM 0.8rc5, MBmenu 1.2

Please provide any additional information below.
it was fixed modifying protected/modules/user/components/YumMenu.php:

    ..........
11:  Yii::app()->clientScript->registerScript('menutoggle', "
12:      $('.YUM_MENU_parent').click(function() { $(this).next().toggle(500);});
13:      $('.YUM_MENU_parent').next().hide();
14:      $('.YUM_MENU_active.YUM_MENU_parent').next().show();
15:       ");
    ..........
57:      $items[$i]['linkOptions']['class'] .= 'YUM_MENU_parent';
    ..........
73:      $items[$i]['linkOptions']['class'] .= 'YUM_MENU_active';

Thanks!

(I don't know how to help with patching or similar)

Original issue reported on code.google.com by dgeape...@gmail.com on 12 Sep 2011 at 4:49