Duplicate default theme breaks exif colorbox

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:
`



`
In the duplicated theme, I see this:
`



`

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

Comments

  • You are confusing me a bit.

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


    `
    metadata table
    `
    `

    Nowhere do I see the `cboxElement` class you say has changed.
  • 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.
  • Probably you have not setup the colorbox options to load for the theme index page.
  • Got it. Many thanks.

    mk
Sign In or Register to comment.