| User | Post |
|
2:57 pm 10 Jul 2007
| Håkan Carlström
Guest
| | | |
|
| |
|
|
I have a conflict between Admin drop menus 2.2 (on a Wordpress 2.2.1) and wp-Simpleviewer 0.5.4 (http://wp-simpleviewer.fuggi82.de/).
The simpleviewer creates two menues, one in Edit and one in Options. These are pointing to the same php-file but two different functions. It looks like the simpleviewer can’t handle when admin drop menus are activated (works perfect when inactivated). It keeps calling the first of the two functions in the php-file.
Is it possible to change Admin drop menus?
Appreciate help.
/Håkan Carlström
|
|
|
|
|
I am afraid this is not behaviour that I can replicate. I have downloaded the simpleviewer plugin and tried it with both the standard admin drop down menus and the ‘advanced’ alternative version and in both cases the simpleviewer plugin is behaving and giving me the correct views on both the ‘Manage’ and ‘Options’ menus.
I wonder if this is actually being caused by a different component altogether. If I can’t replicate the problem, then I am afraid I have nothing to try and fix.
|
|
|
7:41 am 11 Jul 2007
| Håkan Carlström
Guest
| | | |
|
| |
|
|
I did also deactivate all my plugins except Admin drop menues and wp-simpleviewer and I still have the same effect, only showing the options page and not the management page.
I run Wordpress 2.2.1 and the link to both the option and management page, when admin drop menues are activated, is:
…./WordPress/wp-admin/admin.php?page=wp-simpleviewer/wp-simpleviewer.php
The wp_simpleviewer_manage_page()-function is never called (I inserted a echo-statement at first row)
Thank for your time.
/Håkan C
|
|
|
8:20 am 11 Jul 2007
| Håkan Carlström
Guest
| | | |
|
| |
|
|
I changed:
if(!aws_top_menu_plugin( $altmenu[$k]['name'] ))
to:
if(aws_top_menu_plugin( $altmenu[$k]['name'] ))
in function aws_adminmenu_build ()
and it worked!
Do I get other problems by this change?
Yours
/Håkan C
|
|
|
|
|
Only you will be able to tell me that to be honest. But I’ll take a look at the code to see what the knock on is. If I recall orrectly though this was to catch plugins that define a new main menu but I’ll have to check.
|
|
|
9:52 am 11 Jul 2007
| Håkan Carlström
Guest
| | | |
|
| |
|
|
With my change of code the syntax of the links are equal when:
1) admin drop menu is activated
2) admin drop menu is not activated.
So I will stay with the change for the moment.
/Håkan C
|
|