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

Zen Lightbox addon [Support Thread]

Views: 953,007

Results 701 to 720 of 3,722
30 Sep 2007, 5:18 AM
#701
james739 avatar

james739

Zen Follower

Join Date:
Jun 2007
Posts:
210
Plugin Contributions:
0

Zen Lightbox addon [Support Thread]

My dropdown menu is displayed on top of the lightbox. How can I fix it?
www.designerfavs.com

30 Sep 2007, 7:43 AM
#702
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

yosemite:

i have the zen lightbox installed and it works perfect and then i installed image handler 2, which works fine but now when i click on the "larger image" on the product page only a small image comes up in the lightbox.

anybody know of a fix?

thanks

you can see it here
http://yosemitestock.com/zc/index.php?main_page=product_info&products_id=8

It's working fine for me. Did you manage to fix the issue?

james739:

My dropdown menu is displayed on top of the lightbox. How can I fix it?
www.designerfavs.com

Zen Lightbox has built-in functionality to hide any page elements when the lightbox is displayed.

Please see the FAQs section of the readme file (readme.html) for more details.

30 Sep 2007, 11:48 PM
#703
mafiasam avatar

mafiasam

Zen Follower

Join Date:
Jan 2006
Location:
Portland, Oregon
Posts:
256
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I am redesigning my store for a new holiday roll-out in November...

I was always intrigued and interested in your contribution but I have never had the time to install it.

Well, I finally did and I just wanted to say it was the easiest installation I have ever done and it works great and I'm sure it will make my site more attractive and easier to use.

Thank you very much.

1 Oct 2007, 3:30 PM
#704
xdreamer avatar

xdreamer

New Zenner

Join Date:
Aug 2005
Location:
Switzerland
Posts:
8
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi there

Long time I didn't worked with zen-cart but now I have to give the 1.3.7 german version a try. Now I tried to install the lightbox script but failed on the sql part.

What I get is this while running the SQL query:

1136 Column count doesn't match value count at row 1
in:
[INSERT INTO configuration_group VALUES (NULL, 'Zen Lightbox', 'Configure Zen Lightbox options', '1', '1');]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

I uploaded all necessary files exactly like in the readme but no success. Any ideas?

Thanks in advance

1 Oct 2007, 8:42 PM
#705
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

Xdreamer:

Hi there

Long time I didn't worked with zen-cart but now I have to give the 1.3.7 german version a try. Now I tried to install the lightbox script but failed on the sql part.

What I get is this while running the SQL query:

I uploaded all necessary files exactly like in the readme but no success. Any ideas?

Thanks in advance

I've seen errors similar to this one in the past (not with Zen Lightbox) and they turned out to be caused by the MySQL version I was running.

Zen Lightbox v1.4 was designed and built on a system running PHP 5.2.4 and MySQL 5.0.45, if that helps! :)

Which version of MySQL do you have installed?

1 Oct 2007, 8:44 PM
#706
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Or, some installed mods on the site added an additional column to the table,

1 Oct 2007, 8:51 PM
#707
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

yellow1912:

Or, some installed mods on the site added an additional column to the table,

Good thinking.

I would recommend installing a clean version of Zen Cart 1.3.7.1 and then comparing both (from the fresh install and your existing install) of the configuration_group tables.

Like yellow1912 said, the table may have been modified. So, check to make sure they both contain the same amount of columns.

3 Oct 2007, 5:09 PM
#708
sigel avatar

sigel

New Zenner

Join Date:
Aug 2007
Location:
Denver
Posts:
41
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

If someone still has problems with ZenCart 1.3.7.1, ImageHandler 2.0 and Zen Lightbox 1.4 here is what i did to fix it:

locate the file "additional_images.php" it should be in your includes\modules"template_name_dir".

Go to line 23 and remove the ". '$'".
The line should look now like this:
$products_image_base = str_replace($products_image_extension , '', $products_image);

Thats it. Hope it helps others.

Cheers,
Climax

Thanks, now the extra images thumbnails atleast show up.. however They won't load into the light box.. only the main product image does.

3 Oct 2007, 5:23 PM
#709
sigel avatar

sigel

New Zenner

Join Date:
Aug 2007
Location:
Denver
Posts:
41
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

ok, so I figured out what the problem is..

My additional images i keep in the /images/ for and i just upload them as image_name_02.jpg 03.jpg etc etc...

Well, the new additional_images.php is linking my 'extra images' to
/images/large/image_name_02_LRG.jpg

what would I edit to make it link the extra images to just how they are which is
/images/image_name_02.jpg

Thanks in advance!

3 Oct 2007, 5:59 PM
#710
xdreamer avatar

xdreamer

New Zenner

Join Date:
Aug 2005
Location:
Switzerland
Posts:
8
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Alex Clarke:

I've seen errors similar to this one in the past (not with Zen Lightbox) and they turned out to be caused by the MySQL version I was running.

Zen Lightbox v1.4 was designed and built on a system running PHP 5.2.4 and MySQL 5.0.45, if that helps! :)

Which version of MySQL do you have installed?

Thanks for your time. Actually it is a complete clean installation with a modified cherry zen template. The PHP version is 5.1.6 and the MySQL is 4.1.21. I don't have any clue what I should look into the tables sorry :(

7 Oct 2007, 6:28 PM
#711
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

Xdreamer:

Thanks for your time. Actually it is a complete clean installation with a modified cherry zen template. The PHP version is 5.1.6 and the MySQL is 4.1.21. I don't have any clue what I should look into the tables sorry :(

Are you familiar with phpMyAdmin?

9 Oct 2007, 11:58 AM
#712
ces avatar

ces

Zen Follower

Join Date:
Nov 2004
Location:
West Mids, England
Posts:
199
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Sigel:

ok, so I figured out what the problem is..

My additional images i keep in the /images/ for and i just upload them as image_name_02.jpg 03.jpg etc etc...

Well, the new additional_images.php is linking my 'extra images' to
/images/large/image_name_02_LRG.jpg

what would I edit to make it link the extra images to just how they are which is
/images/image_name_02.jpg

Thanks in advance!

How I got around the problem was to ignore the additional_images.php file that came with the mod and copied the core zen additional_images.php file into the override folder: /includes/modules/YOUR_TEMPLATE/

Then find line 92

    // Link Preparation:

and insert below it the following:

	// bof Zen Lightbox v1.4 aclarke 2007-09-22
	if (ZEN_LIGHTBOX_STATUS == 'true') {
	
    $script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="' . zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="lightbox[gallery]" title="' . addslashes($products_name) . '">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';
	
	} else {
			
    $script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascript:popupWindow(\\\'' . $large_link . '\\\')">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';
	
	}
	// eof Zen Lightbox v1.4 aclarke 2007-09-22

Then directly under that, comment out the following line of code:

$script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascript:popupWindow(\\\'' . $large_link . '\\\')">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';

so it looks like this;

//    $script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascript:popupWindow(\\\'' . $large_link . '\\\')">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';

I hope that helps, and I'm not treading on anyone's toes.

Great mod by the way, thanks.

Craig

13 Oct 2007, 3:57 PM
#713
hellouk avatar

hellouk

New Zenner

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

Re: Zen Lightbox addon [Support Thread]

Hello anyone,

I set up light box with Zen Cart 1.37 1 with HI 2(0916). However, it looks like HI does not work with Light box?! Also, when I clicked the product info-image, only the main image works fine for light box but I do not have the "NEXT Button" to look at the other images. (I used HI2 to add extra images.) Please see my website.

Could anyone help me about HI2 and Light box issue? Could anyone know how I can show the next button?

Thank you so much.

Ken

13 Oct 2007, 7:46 PM
#714
memoomem avatar

memoomem

New Zenner

Join Date:
Jul 2007
Posts:
49
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Alex,

This is just awesome! Websites couldn't look more professional. Thank you for your time and effort, I tell you, they all worth the result.

Other than it's eye candy, it protects the images as well. Although not impossible, it's more difficult to save images when they are displayed in this lightbox.

Great stuff man.

-Memo

13 Oct 2007, 8:46 PM
#715
hellouk avatar

hellouk

New Zenner

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

Re: Zen Lightbox addon [Support Thread]

Thank you Alex,CES, Climax, Sigel. It is really working with IH2 now although no hover. But it is working at least. Thank you so much.

Step 1:

If someone still has problems with ZenCart 1.3.7.1, ImageHandler 2.0 and Zen Lightbox 1.4 here is what i did to fix it:

locate the file "additional_images.php" it should be in your includes\modules"template_name_dir".

Go to line 23 and remove the ". '$'".
The line should look now like this:
$products_image_base = str_replace($products_image_extension , '', $products_image);

Thats it. Hope it helps others.

Cheers,
Climax

Step2:

CES:

How I got around the problem was to ignore the additional_images.php file that came with the mod and copied the core zen additional_images.php file into the override folder: /includes/modules/YOUR_TEMPLATE/

Then find line 92

// Link Preparation:
> and insert below it the following:
> ```
	// bof Zen Lightbox v1.4 aclarke 2007-09-22
	if (ZEN_LIGHTBOX_STATUS == 'true') {
	
    $script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="' . zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="lightbox[gallery]" title="' . addslashes($products_name) . '">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';
	
	} else {
			
    $script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascript:popupWindow(\\\'' . $large_link . '\\\')">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';
	
	}
	// eof Zen Lightbox v1.4 aclarke 2007-09-22

Then directly under that, comment out the following line of code:

$script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascript:popupWindow(\\\'' . $large_link . '\\\')">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';

> 
> so it looks like this;
> 
> ```
//    $script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascript:popupWindow(\\\'' . $large_link . '\\\')">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';

I hope that helps, and I'm not treading on anyone's toes.

Great mod by the way, thanks.

Craig

This is a fantastic mod. Thank you so much again.:clap:

14 Oct 2007, 5:21 AM
#716
cirius avatar

cirius

New Zenner

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

Re: Zen Lightbox addon [Support Thread]

The first Lightbox image works and looks great, but it hangs on the second image. any suggestions.

It's a clean install of Zen. All of the files are stored in the same directory and they are named with suffixes of _01, _02...

Thanks for any replies

14 Oct 2007, 9:04 AM
#717
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

helloUK:

Hello anyone,

I set up light box with Zen Cart 1.37 1 with HI 2(0916). However, it looks like HI does not work with Light box?! Also, when I clicked the product info-image, only the main image works fine for light box but I do not have the "NEXT Button" to look at the other images. (I used HI2 to add extra images.) Please see my website.

Could anyone help me about HI2 and Light box issue? Could anyone know how I can show the next button?

Thank you so much.

Ken

It looks like there is a bug with this release of Zen Lightbox. :(

To get the images (next, previous and close buttons) to display, you'll need to copy the zen_lightbox folder (found in includes/templates/your-template-name/images) to includes/templates/template_default/images. That should sort it out for you. I'll be fixing this issue in the next release.

What problems were you experiencing with Zen Lightbox and IH2?

MemooMeM:

Alex,

This is just awesome! Websites couldn't look more professional. Thank you for your time and effort, I tell you, they all worth the result.

Other than it's eye candy, it protects the images as well. Although not impossible, it's more difficult to save images when they are displayed in this lightbox.

Great stuff man.

-Memo

Glad you like it! To protect your images further you can always add a watermark using IH2.

Cirius:

The first Lightbox image works and look
s great, but it hangs on the second image. any suggestions.

It's a clean install of Zen. All of the files are stored in the same directory and they are named with suffixes of _01, _02...

Thanks for any replies

Do you have a link to your website please?

15 Oct 2007, 11:11 PM
#718
tactics avatar

tactics

New Zenner

Join Date:
Jun 2005
Posts:
15
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi folks. I've got the lightbox installed and it's working great except for the additional images. I've read and re-read the tutorial several times and tried a bunch of different things, but I'm not having any luck.

Here's my image naming conventions:

images/books/medium/slh_01_MED.jpg

images/books/medium/slh_02_MED.jpg

images/books/large/slh_01_LRG.jpg

images/books/large/slh_02_LRG.jpg

The first medium shows up fine on the page and opens the first large when you click on it. But there is no "next" button displayed, and no additional thumbnails on the page. Is there an additional module I need to install?

Here's a link:

http://www.theadventuresofhannah.com/store/index.php?main_page=product_info&cPath=1&products_id=1

Any help is much appreciated.

16 Oct 2007, 10:07 PM
#719
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

Did additional images work before you installed Zen Lightbox?

17 Oct 2007, 2:05 AM
#720
tactics avatar

tactics

New Zenner

Join Date:
Jun 2005
Posts:
15
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Unfortunately, I didn't try additional images before hand. I knew I wanted to use the lightbox, so it's the first thing I did after the base install.