Member
Member
mkhayes   2011-06-22, 22:32
#1

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

Member
Member
sbillard   2011-06-23, 00:07
#2

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.

Member
Member
mkhayes   2011-06-23, 01:09
#3

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.

Member
Member
sbillard   2011-06-23, 01:56
#4

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

Member
Member
mkhayes   2011-06-23, 20:57
#5

Got it. Many thanks.

mk

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.