On these pages are my WordPress plugins, the odd article and my Support Forum.

For my random rantings on everything else please visit my blog at Yellow Swordfish

WP Plugins


Articles

If you find any of my plugins useful, please comsider a donation towards my running costs.

Thank you

Current User: Guest
Please consider registering

 
Search Forums:


 




Conflict with wp-simpleviewer 0.5.4

UserPost

2:57 pm
10 Jul 2007


Håkan Carlström

Guest

 
1

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

4:51 pm
10 Jul 2007


Yellow Swordfish

Admin

Peterborough, England

posts 4655

 
2

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

 
3

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

 
4

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

9:16 am
11 Jul 2007


Yellow Swordfish

Admin

Peterborough, England

posts 4655

 
5

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

 
6

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



Reply to Topic: Conflict with wp-simpleviewer 0.5.4

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 1 + 6        (Required)

Topic Reply:


 
 

About the Stuff at Yellow Swordfish forum

Currently Online:

11 Guests

Maximum Online: 71

Forums:

Groups: 3

Forums: 15

Topics: 1785

Posts: 12055

Members:

There are 827 members

There are 755 guests


Yellow Swordfish has made 4655 posts

Top Posters:

Mr Papa - 1274

-Radio- - 482

ovizii - 94

jfv - 80

angelic007 - 66

Administrator: Yellow Swordfish | Moderators: Yellow Swordfish, Mr Papa, -Radio-


© Simple:Press Forum - Version 3.1.4 (Build 357)