Member
Member
murphnl   18-05-2008, 16:47
#1

Hi,

I upgraded to 1.1.6 and know my photo open up without the lightbox/slimbox been used.
Is this a bug or did i do something wrong?

Administrator
Administrator
acrylian   18-05-2008, 17:17
#2

Lightbox/slimbox are not Zenphoto features. So you probably use a custom made theme, so you would have to rework this maybe.

We have included thickbox by the way, which is basically the same. Take a look at the image.php file of the included default theme, how to use it (it's used for the exif date only there).

Member
Member
murphnl   18-05-2008, 17:43
#3

I'm using the chilli-light theme and it "was" working before the upgrade.
When i click on a thumbnail it opens the picture on a new page without the theme.

I'm using the following code.

" rel="lightbox[]" title="">

Does anyone have a idea or experiencing the same problem?

Member
Member
murphnl   21-05-2008, 18:51
#4

Can someone point me in the right direction as i'm willing to learn?

Administrator
Administrator
acrylian   21-05-2008, 20:01
#5

I don't know that theme in detail (it's not a "official" one). It seems that the lightbox javascript might not be where it should.
Did you try the version from our site? (you didn't say what zp version you upgraded from).

Member
Member
murphnl   22-05-2008, 15:13
#6

Hi Acrylian,

I upgraded from 1.1.5 to 1.1.6 and i didn't change anything in the theme.
This is why i'm confused

Where can i find the lightbox javascript on the zenphoto site?

Thanks

Administrator
Administrator
acrylian   22-05-2008, 16:00
#7

The lightbox script is nothing Zenphoto specific: http://www.lokeshdhakar.com/projects/lightbox2/

A similar solution called Thickbox, also nothing Zenphoto specific, is already included in Zenphoto: http://jquery.com/demo/thickbox/

Member
Member
zucye   22-05-2008, 19:16
#8

I have a similar problem witht the Slimbox and Smoothgallery included with the effervescense Theme. I posted my problem in the following topic:
http://www.zenphoto.org/support/topic.php?id=3045

Yesterday I installed a different theme that uses a similar sript (can remmber the name right now) and it didn't work either.

I also tried moving the sript to the root folder and writting the full URL, no sucess there either. Later I will try Greybox (my personal favorite) to see if it works. But I kind of belive that there is a comflict in the new version and the "___box" scripts.

BTW - you might try login off, It was suggested to me. It didn't work for me, but it might work for you.

Member
Member
fatman   22-05-2008, 19:43
#9

I also have similar with a theme using mootools, the error console in firefox prompt an error in calling mootools.js.

Member
Member
murphnl   22-05-2008, 21:26
#10

I had to add the path o builder.js

type="text/javascript">

And before

Hope this is a fix you can use Zucye

Member
Member
zucye   23-05-2008, 04:17
#11

@murphnl:
Where exactly did you do that? album.php?
Is builder.js part of the Lightbox package?

Member
Member
murphnl   23-05-2008, 19:58
#12

@zucye

I added it to album.php

builder.js can be found in the default "js" folder that comes with lightbox.
http://www.lokeshdhakar.com/projects/lightbox2/

I have the code inserted in the following order.

type="text/javascript">

Member
Member
krainbolt   24-05-2008, 00:39
#13

Moving the location of builder.js didn't work for me. After many late nights trying to figure out what the problem is, I think I finally found it. It seems to be a problem with some code in either ajax.js or or scripts-common.js. Both of these are included by the function zenJavascript which is located in the functions.php file. The zenJavascript function is called by the theme files that can at least include the following: album.php, archive.php, image.php, index.php and search.php.

What worked for me is to edit the files and move the zenJavascript line directly below the HEAD tag.

It should look something like this:

....

....

In a template such as Effervescence+ the call to that function will look like this:
zenJavascript();

Just delete that line and add the php zenJavascript(); line as stated above.

I don't know exactly what the problem is, but this worked for me.

Member
Member
zucye   30-05-2008, 15:13
#14

This also worked for me!

Thanks krainbolt!!

Member
Member
sbillard   31-05-2008, 00:04
#15

Thanks for figuring this out. Works for me, even when logged in as admin (which never worked for me before.) I will incorporate this fix into the release.

Member
Member
Dianoga   04-06-2008, 15:13
#16

Worked here too.

Thanks

Member
Member
klw81   19-08-2008, 06:48
#17

I was having this problem as well, when trying to use the Simple+ theme. I tried what was suggested, and it now works in Firefox, but not Internet Explorer. Help in simple terms please, I'm somewhat of a PHP newbie.

Member
Member
Bilder-Freak   27-08-2008, 10:36
#18

i have the same problem - does anyone know how to fix it?

Member
Member
krainbolt   28-08-2008, 00:46
#19

Which version of IE and build of zenphoto are you using?

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