ZenphotoCMS Forum
Duplicate default theme breaks exif colorbox - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Duplicate default theme breaks exif colorbox (/thread-8759.html)



Duplicate default theme breaks exif colorbox - mkhayes - 2011-06-22

I'm using Zenphoto 1.4.1 and I'm trying to modify the default theme. The Image Info link breaks when I duplicate it.

Looking at the source code with default theme, I see this:
`

Image Info

In the duplicated theme, I see this:

Image Info

`

class="colorbox cboxElement" turns into class="colorbox"

I can see no difference in the two versions of image.php.

How would I fix this?

Thanks,
mk




Duplicate default theme breaks exif colorbox - sbillard - 2011-06-23

You are confusing me a bit.

The default theme has the following html for the metadata:
`

Image Info

`
[i]metadata table[/i]
``

Nowhere do I see the cboxElement class you say has changed.




Duplicate default theme breaks exif colorbox - mkhayes - 2011-06-23

OK, I'm a bit confused as well. If I just look at the source code the standard way in Firefox, I don't see any difference. But when I look at it through "View Source Chart 3.02" plug-in, I do. And the default theme has that extra bit, the dupe doesn't.

But one way or the other, the exif link fails in the dupes, where it works in the original. Hitting the link just sends me to the top of the page.

I tried it with the new Garland theme as well and had the same problem. Works in the orig, unmodified dupe fails. And just for good measure, I checked it in Chrome and same thing. Link does and doesn't work, depending on which copy, and source codes look the same.




Duplicate default theme breaks exif colorbox - sbillard - 2011-06-23

Probably you have not setup the colorbox options to load for the theme index page.




Duplicate default theme breaks exif colorbox - mkhayes - 2011-06-23

Got it. Many thanks.

mk