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:


 




Problem on Dashboard page with 2.0.5

UserPost

1:21 pm
10 Apr 2007


mjhammel

Member

posts 3

1

I recently noticed that on the Dashboard page (but apparently no other page) the menu is being displayed on the bottom of the page.  None of the submenus are being displayed.  Right above the menu bar is the following is displayed:

var xMenu = document.getElementById("adminmenu");xMenu.innerHTML="";var newDiv = document.createElement("div");newDiv.innerHTML = "

I get the feeling that something on the dashboard page is causing Advanced Menus to do this, but I don't know what that something is.  I'm pretty sure this was working early this year just fine and I haven't enabled any additional plugins since that time.  It sort of looks like the innerHTML has an open double quote in it, or something like that.

2:18 pm
10 Apr 2007


Yellow Swordfish

Admin

Peterborough, England

posts 5013

2

Now this, as far as I know, is a first!

Looks like the routine that builds the menu divs and lists has come up empty for some strange reason - it should be attached to the end of that string above. Just as weird is printing out the javascript line of code.

All the heavy lifting for this plugin takes place from the WordPress footer code hook - admin_footer() - and the only suggestion I can think of is that this has gone missing. And the only reason I can think that it might have gone missing is if your Dashboard is encountering an error somewhere and the HTML generation is not getting completed. So the first question I have is are you seeing the normal WP footer at the bottom of the Dashboard (with the WP logo etc)?

4:33 pm
10 Apr 2007


mjhammel

Member

posts 3

3

It appears to be.  But now I don't think this is a problem in Advanced Menus.

I think I found the culprit:  the photoshow plugin.  If I disable this plugin the problem goes away.  So it's not a problem in Advanced Menus.  And since the problem is only related to the menus on the dashboard (which I seldom use anyway) it's not a huge problem at the moment.

Kinda sucks since Photoshow is by far the best image gallery plugin (ease of use and display mechanism).  Unfortunately, the author doesn't appear to be updating the package and the web site is now "under construction".  *sigh*  I'd dive in myself if I didn't have a dozen other projects ahead of it.

I should have known it wasn't Advanced Menus.  Your stuff has been rock solid.   

Oh well.  Sorry for the scare.  :-)

4:48 pm
10 Apr 2007


Yellow Swordfish

Admin

Peterborough, England

posts 5013

4

Why.. thank you!

Yoiu might want to take a look at the Photoshow plugin and look for the function that is being run against the 'admin_footer' - that's almost certanly the cause. it might just be stopping the menu code from being run in some way.

 

About the Stuff at Yellow Swordfish forum

Currently Online:

Yellow Swordfish

partireper.it

11 Guests

Maximum Online: 71

Forums:

Groups: 3

Forums: 16

Topics: 1941

Posts: 13160

Members:

There are 916 members

There are 796 guests


Yellow Swordfish has made 5013 posts

Top Posters:

Mr Papa - 1437

-Radio- - 518

ovizii - 106

jfv - 82

RoseCitySister - 68

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


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