Admin Toolbox won't open

I have two sites on Zenphoto version 1.4.1.1 [7644] (Official Build), both with a modified Default theme. Both have the same problem: although the Admin Toolbox shows (when I'm logged in) clicking it does nothing. It works if I change to the Default theme, so it's obviously something I removed in my custom theme. I only noticed it now that I want to create Dynamic Albums, and I think the Admin Toolbox is the only way to do that. I know it's not much to go on, but any ideas?

Comments

  • Does this fail on a not modified default theme? If not then it is something in your modifications causing it.

    The click action on the admin toolbox is handled by a javascript function. So one of two things most likely has happened. First, the Zenphoto javascript support files did not get loaded. The particular function used is part of the `zenphoto.js` file.

    The other possibility is that ther is some kind of javascript conflict/collision. So if you have loaded your own javascript it would be suspect.

    So, be sure there is a <script..../> line in the html loading the zenphoto.js script. Check if there are any javascript errors occuring.
  • pupa Member
    Thanks for the quick response. As I mentioned in my OP, the Admin Toolbox opens fine with the Default theme applied, so it's something I changed. I haven't added any javascript, and I tried pasting the styles from the default CSS into my theme, and still no. I don't know how to ensure the javascript support files get loaded or how to tell. I'll keep digging.
  • pupa Member
    My custom theme was based on a really old Default theme, so I applied my style sheet to the latest Default theme, made a few other changes and it seems to be working now. Now and then the AdminToolBox just doesn't show at all, but a cache clear fixes that. Still don't know why it wasn't working...
  • acrylian Administrator, Developer
    You answered yourself. Your browser cached the old version.
Sign In or Register to comment.