| User | Post |
|
3:46 pm 19 May 2008
| mark k.
Guest
| | | |
|
| |
|
|
Hi Andy,
I am using this greata plugin on my WPMU 1.5.1 install as a “normal” blog plugin, and I have the smallest and funniest issue with it.
No menu appears when I click the “plugins” menu header. My guess is that it has something to do with the fact that in WPMU there are no submenu to the plugin menu - there is only the plugin page. I have tried to hack the code in order to hardcode a plugin submenu, but after 30 minutes of messing around with the code I decided that it will be easier to ask the original writer
The funny side of this problem is that once this plugin is activated it can not be deactivated ….
|
|
|
3:55 pm 19 May 2008
| -Radio-
Moderator
| | Florida - USA | |
|
| posts 482 |
|
|
I edited the older version of AAmenus to work with WPMU 1.3.3 and have just upgraded one of my sites to WPMU1.5.1 today.
I will take a serious look at the newer AAMenus, and see if the same edit will work with the new format. (WPMU 1.5.1 is based on WP 2.5.1)
|
|
|
4:23 pm 19 May 2008
| -Radio-
Moderator
| | Florida - USA | |
|
| posts 482 |
|
|
mark k. said:
Hi Andy,
I am using this greata plugin on my WPMU 1.5.1 install as a “normal” blog plugin, and I have the smallest and funniest issue with it.
No menu appears when I click the “plugins” menu header. My guess is that it has something to do with the fact that in WPMU there are no submenu to the plugin menu - there is only the plugin page. I have tried to hack the code in order to hardcode a plugin submenu, but after 30 minutes of messing around with the code I decided that it will be easier to ask the original writer 
The funny side of this problem is that once this plugin is activated it can not be deactivated …. 
You are correct in that there normally are no sub-menu items in the plugins menu, however some plugins (Akismet, Robots Meta, etc.) will add a sub menu.
Simple Solution to this is to use a WPMU plugin called Plugin Commander which gives you a great deal of control over the plugins menu and how it appears for sub-blog owners.
Plugin commander adds a sub-menu 'Plugins' to each users 'Manage' menu allowing you to disable the default 'Plugins' menu.
Plugin Commander can be Downloaded from http://wpmudev.org/ and is the number one recomended WPMU plugin of all time.
|
|
|
5:40 pm 19 May 2008
| mark k.
Guest
| | | |
|
| |
|
|
Radio, thanks for your suggestions.
I have my own “plugin manager” which do not change the menues, and I'm very happy with it…. but your suggestion gave me an idea - maybe the menu code is too difficult for me to understand, but I do know how to add a submenu to the plugins page which will point to the same plugins page…..
However since having a top menu without submenues is extrimly rare but possible, if this is indeed a bug in the plugin, I preffer to try and get an hack or fix for the plugin itself without requiring the use of other plugins.
|
|
|
|
|
I have noted the problem but I can't promise when i can get around to the code. meanwhile there is an laternative from Planet Ozh…
|
|
|
4:30 am 20 May 2008
| mark k.
Guest
| | | |
|
| |
|
|
I just like yours better
Anyway, I have implemented my own suggestion and added the following line in the admin_menus_load_js function
add_submenu_page('plugins.php', __('Plugins'), __('Plugins'), 10, 'plugins.php');
and it solves the problem for me.
|
|
|
|
|