Zen Cart Logo
Forums / All Other Contributions/Addons / Zen Lightbox addon [Support Thread]

Zen Lightbox addon [Support Thread]

Views: 952,703

Results 2,001 to 2,020 of 3,722
10 Jun 2010, 2:32 PM
#2001
ebookba avatar

ebookba

New Zenner

Join Date:
Oct 2007
Posts:
31
Plugin Contributions:
0

Zen Lightbox addon [Support Thread]

Zen Lightbox stops working recently on my site. Already try to reinstall. Settings are visible in teh admin. Yet when I click on 'larger image', the image is shown directly instead. Something like this happens: http://sn.im/xa13p

Any help is very much appreciated. Been quite frustrated to get around the issue.

10 Jun 2010, 6:27 PM
#2002
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

ebook, did you put this file into the right place:

additional_images.php

it should go into includes/modules/folder with your templates name/additional_images.php

plus all the ones that should go into your templates folder in includes/templates

10 Jun 2010, 11:15 PM
#2003
ebookba avatar

ebookba

New Zenner

Join Date:
Oct 2007
Posts:
31
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Already check the template folders and everything is put into the right place. Thanks.

11 Jun 2010, 12:11 AM
#2004
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

ebookba:

Already check the template folders and everything is put into the right place. Thanks.

did it work until you installed another addon or updated the store software or, what did you do just before it decided not to work.

list any mods you have installed please and store version

thanks

11 Jun 2010, 2:43 PM
#2005
ebookba avatar

ebookba

New Zenner

Join Date:
Oct 2007
Posts:
31
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Running 1.3.8a under PHP 5.3.9
Recently remove the WordPress on Zen-Cart, and change the main page featured product width.
Good news is that if I change to classic theme, the zen lightbox works again. Think there's some override issue. Probably I should re-install the theme.

mods installed: easy populate, ultimate seo, links manager, rss feed, blank side box etc

11 Jun 2010, 6:04 PM
#2006
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

ebookba:

Running 1.3.8a under PHP 5.3.9
Recently remove the WordPress on Zen-Cart, and change the main page featured product width.
Good news is that if I change to classic theme, the zen lightbox works again. Think there's some override issue. Probably I should re-install the theme.

mods installed: easy populate, ultimate seo, links manager, rss feed, blank side box etc

with mods installed we need to be sure that there is no file in a new (former) mod that is with the same name as another. when I updated to 1.3.9 I had to go through all the mods to make sure that I did not overwrite one with the new files too. I use a macintosh so i have text wrangler for merging the codes into a copuy of the new file.

do the other mods still work? Glad you got rid of wordpress I hear that it is very easy to get hacked...never used it so have no clue if rumor or not.

what template are you using?

12 Jun 2010, 7:34 AM
#2007
1kell avatar

1kell

Zen Follower

Join Date:
Jul 2008
Posts:
151
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

This add-on is totally awesome!

12 Jun 2010, 8:55 AM
#2008
ebookba avatar

ebookba

New Zenner

Join Date:
Oct 2007
Posts:
31
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

After trial and error, there's conflict with the link manager sidebox. Will try to upgrade it and see if it works out. Thanks for the help.

15 Jun 2010, 10:31 PM
#2009
capecodjoe avatar

capecodjoe

New Zenner

Join Date:
Feb 2010
Posts:
4
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I don't know if this has been answered or not, but I couldn't find an answer anywhere.
The "PREV" and "NEXT" buttons on the Lightbox pop-up window doesn't show up, only when I hover over them do they show up.

I found another tread with another user who had the same problem but no answer was given that I could find.

The stylesheet_zen_lightbox.css file is installed in my CSS folder, all of the other Lightbox files seem like they are where they belong. I checked , rechecked and double checked all the files.

Does anyone know how I might correct this problem?

Thank you in advance.

I am using:

Zen cart - v1.3.8a
Zen lightbox - v1.5

16 Jun 2010, 1:28 PM
#2010
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I'm installing Zen Lightbox v1.5 on test site 1.3.9d. Didn't install IH2.

On tpl_modules_main_product_image.php I've got two instances of:
. addslashes(TEXT_CLICK_TO_ENLARGE) . in my existing file that are shown as" . TEXT_CLICK_TO_ENLARGE . in the mod file.

Both files appear to work. I'm not sure where the addslashes came from in my existing file, copied from custom template in livesite. I have same lightbox on livesite zc 1.3.8a also with IH2

I don't see the addslashes in Lightbox files, or any zc clean files.

Anyone know what gives?

17 Jun 2010, 10:19 PM
#2011
capecodjoe avatar

capecodjoe

New Zenner

Join Date:
Feb 2010
Posts:
4
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I don't know if this has been answered or not, but I couldn't find an answer anywhere.
The "PREV" and "NEXT" buttons on the Lightbox pop-up window doesn't show up, only when I hover over them do they show up.

I found another tread with another user who had the same problem but no answer was given that I could find.

The stylesheet_zen_lightbox.css file is installed in my CSS folder, all of the other Lightbox files seem like they are where they belong. I checked , rechecked and double checked all the files.

Does anyone know how I might correct this problem?

Thank you in advance.

I am using:

Zen cart - v1.3.8a
Zen lightbox - v1.5

Anyone???
You can see what I mean on the website I made http://www.prioritypetproducts.com

This is driving my nuts.

17 Jun 2010, 11:29 PM
#2012
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

@capecodjoe

what other add ons do you have installed?

I ask cause I have IH2 and lightbox installed and the store works perfectly BUT

I just tried installing the addon to show --on the product info page--when the date of the sale is to end and it works but all my additional images from IH2 disappeared...more on that will be in the proper forum...lol

sometimes they do not play nice together

anyway try reuploading the tpl_modules_main_product_image.php

which goes to includes/templates/your template folder/tpl_modules_main_product_image.php

see if that helps

18 Jun 2010, 8:18 PM
#2013
capecodjoe avatar

capecodjoe

New Zenner

Join Date:
Feb 2010
Posts:
4
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I ended up making a work around that worked for me. I do have other add on's and it seems like it had nothing to do with the Image Handler 2, as far as I can tell it had a lot to do with Fual Slimbox. I just didn't understand why it was happening since I had already uninstall Fual Slimbox but the Prev and Next buttons was still not showing up in the Lightbox image.
Any way my fix is not pretty but it worked for me.

This is what I did:, (oh, the website I made is not a separate template but a combination of added modules and a lot of file editing of the default template that came with Zen Cart, so I don't know if this fix will work for everyone).

  1. I made a new folder called called zen_lightbox and placed it here: includes/templates/classic/zen_lightbox
  2. Inside the zen_lightbox folder I added the images that came with the Zen Lightbox addon. They were nextlabel.gif and prevlabel.gif.
    3.Inside my css folder located at includes/templates/classic/css there was a file from the Fual Slimbox addon named stylesheet_slimbox_ex.css. Open this file up and add the following code:

#lbNextLink {
right: 0;
display: block;
width: 40px;
background: url(../images/zen_lightbox/nextlabel.gif) no-repeat right;
background-image: url(../images/zen_lightbox/nextlabel.gif)no-repeat right;
padding_left:40px;
margin-left:40px;
}

#lbPrevLink {
right: 0;
display: block;
width: 40px;
background: url(../images/zen_lightbox/prevlabel.gif) no-repeat left;
background-image: url(../images/zen_lightbox/prevlabel.gif)no-repeat left;
padding_left:40px;
margin-left:40px;
}

That's it, I refreshed my browser tested Lightbox out and it worked. Basically what I did was made the prev and next buttons show up on top of whatever div was blocking the other prev and next buttons from showing up.

I tried to explained this the best I could and I hope this will help those with a similar issue with Lightbox

18 Jun 2010, 9:09 PM
#2014
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

@capecodjoe

you did a great job, it works like it should and appears like it should too.

18 Jun 2010, 11:52 PM
#2015
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Zen Lightbox addon [Support Thread]

@capecodjoe

Glad you got it to work.. something to think about...

The location the lightbox code is looking for buttons is

(<?php echo $template->get_template_dir('', DIR_WS_TEMPLATE, $current_page_base, 'buttons/') . $_SESSION['language'] . '/zen_lightbox/nextlabel.gif'; ?>)
```YOUR_TEMPLATE/buttons/LANGUAGE/zen_lightbox/nextlabel.gif

Which gives you the ability to use different languages with lightbox.  Because the spinner is not dependent on a language, it was placed in a folder such, YOUR_TEMPLATE/images/zen_lightbox/loading.gif  and is addressed in the css for zen_lightbox.

Sorry for the late answer, been a very long week... hopefully this helps a bit.
20 Jun 2010, 2:43 AM
#2016
yba avatar

yba

New Zenner

Join Date:
May 2007
Location:
NSW, Australia
Posts:
19
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi there

I have installed Zen Lightbox on my test site, and am unable to get multiple images working.

http://yourbusinessassistant.com.au/jokerzen/index.php?main_page=product_info&cPath=34_35&products_id=86

ATM this is the only product which has multiple images uploaded.

The images are all in folder /images/cb750

images are named

cb750_tripletree.jpg
cb750_tripletree1.jpg
cb750_tripletree2.jpg
cb750_tripletree3.jpg
cb750_tripletree4.jpg
cb750_tripletre5e.jpg
cb750_tripletree6.jpg
cb750_tripletree7.jpg
cb750_tripletree8.jpg
cb750_tripletree9.jpg

What am I missing?

Cheers
Danielle

20 Jun 2010, 3:34 AM
#2017
kes99 avatar

kes99

New Zenner

Join Date:
May 2009
Posts:
42
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

yba:

Hi there

I have installed Zen Lightbox on my test site, and am unable to get multiple images working.

http://yourbusinessassistant.com.au/jokerzen/index.php?main_page=product_info&cPath=34_35&products_id=86

ATM this is the only product which has multiple images uploaded.

The images are all in folder /images/cb750

images are named

cb750_tripletree.jpg
cb750_tripletree1.jpg
cb750_tripletree2.jpg
cb750_tripletree3.jpg
cb750_tripletree4.jpg
cb750_tripletre5e.jpg
cb750_tripletree6.jpg
cb750_tripletree7.jpg
cb750_tripletree8.jpg
cb750_tripletree9.jpg

What am I missing?

Cheers
Danielle

Did they work BEFORE you installed lightbox? I somehow doubt they did. What always works for me is:

cb750_tripletree.jpg the main image
cb750_tripletree_01.jpg, cb750_tripletree_02.jpg etc as the additional images.....it's the underscore that makes the difference...

20 Jun 2010, 7:48 AM
#2018
yba avatar

yba

New Zenner

Join Date:
May 2007
Location:
NSW, Australia
Posts:
19
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Thanks Kes99

I have renamed all the images to ..._01.jpg etc but is still not working.

Any ideas?

Cheers
Danielle

21 Jun 2010, 2:48 AM
#2019
kes99 avatar

kes99

New Zenner

Join Date:
May 2009
Posts:
42
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

yba:

Thanks Kes99

I have renamed all the images to ..._01.jpg etc but is still not working.

Any ideas?

Cheers
Danielle

Check this setting:

Admin->Catalog->Product Types->Product General->Edit Layout->Show Additional Images

it should be true or 1

Check also:

Admin->Configuration->Images->Product Info - Number of Additional Images per Row It should be greater than zero.

At the moment your main image is cb750_tripletree_02.jpg.

It should be cb750_tripletree.jpg then cb750_tripletree_01.jpg, cb750_tripletree_02.jpg etc should be the additional images....

For cb750_tripletree_02.jpg to be the main image additional images would have to be named
cb750_tripletree_02_01.jpg
cb750_tripletree_02_02.jpg etc....

read the tutorial at:

https://www.zen-cart.com/tutorials/index.php?article=58

I very much doubt that lightbox has broken additional image handling....did they work BEFORE you installed that module?

22 Jun 2010, 9:15 AM
#2020
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I use this mod already on my site for the product info page to enlarge the main image and additional images. It works a treat for me there.

My question is, how would I get it to work on a defined page like this one:

http://www.silkblooms.co.uk/index.php?main_page=hire_arrangements

Rather than pasting that big map in there, I'd rather thumbnail the map and have it open in a lightbox.

Do I need to insert javascript into the HTML I'm using on this page? Any pointers greatly appreciated.