ZenphotoCMS Forum
Zenpage sidebar menu misaligned - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html)
+--- Thread: Zenpage sidebar menu misaligned (/thread-3900.html)

Pages: 1 2


Zenpage sidebar menu misaligned - darrellm - 19-10-2008

Am I the only one having this problem? This is the second install of Zenpage, both sites had issues with sidebar misaligning when viewing the full image. Here's a link: http://www.mlownie.com/gallery/index.php?album=retrospective&image=dream_of_flight.jpg

I have not done anything but install the plug-in. Any help is appreciated.




Zenpage sidebar menu misaligned - olihar - 19-10-2008

try to disable thickbox in the code and see what happens.




Zenpage sidebar menu misaligned - acrylian - 19-10-2008

Worth a try, but that should not be the cause since I use it with the thickbox on my demo site, too: http://zenpage.maltem.de/zenpage-demo/album1/Cosmos09.jpg.php




Zenpage sidebar menu misaligned - darrellm - 19-10-2008

Thanks for the reply. However, where specifically do you disable the thickbox? Also, on another post, lucian had brought to my attention that there was a missing before the sidemenu and I thought I added it but the menu still aligns under the image (see link above). Although, the menu bar is now showing, the menu is still under the image.

Here's a partial copy of the codes where I placed the extra after the

    ">

`
Here's the previous post where lucian mentioned it: http://www.zenphoto.org/support/topic.php?id=4072




Zenpage sidebar menu misaligned - olihar - 19-10-2008

ahh yeah.. put the under all the stuff about comments. I remember I did that myself and got it to work that way.




Zenpage sidebar menu misaligned - olihar - 19-10-2008

Try this one.
`

 |  | 



Zenpage sidebar menu misaligned - olihar - 19-10-2008

I am using it like this right now in some tests
`

 |  | 



Zenpage sidebar menu misaligned - acrylian - 19-10-2008

I don't have IE and my fellow devs didn't report anything. So is the display error on my demo site, too? If so let me know. Thanks.




Zenpage sidebar menu misaligned - darrellm - 19-10-2008

Acrylian - thanks for the zenpage. You did excellent work! To answer your question, I think yes it is on your demo site. All I did was upgrade to the latest Zenphoto and installed Zenpage. Everything (installation) went smoothly without errors. But when I looked at the image that's when I noticed the misalignment of the menu.

I am on Firefox 3.0.3 on Mac OS Tiger, so I haven't looked at any Windows OS. But last I checked that both platforms had this problem. I'm surprised that no one else reported this. But according to what Olihar just said, others may have had it - it's just that it was an easier fix for them due to the greater knowledge they have of the codes.

Olihar - thanks for the reply and the fix. I will look into it sometime today. By the way, I love what you did with your site (when I click on your name) That's exactly what I was looking for (the black/grey background). Is that done by Zenpage or did you just add the menu on the top yourself?

Thanks again guys!

P.S. - I still would like to know how to disable thickbox.




Zenpage sidebar menu misaligned - acrylian - 19-10-2008

First, thanks for the nice words!

Second, I have found the error. There is not a closing div missing but wrong nested so that it indeed gets losts if the comments are disabled. The fix is easy (of course I will svn it). Open image.php and look at line 141:
`

Change this to:

`
Now it should work as expected.

To disable the thickbox, open also image.php and simply remove the class="thickbox" from the a href, also remove the thickbox.js and thickbox.css load from the head of the file.