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
Views: 953,007
Zen Follower
My dropdown menu is displayed on top of the lightbox. How can I fix it?
www.designerfavs.com
Totally Zenned
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.
Zen Follower
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.
New Zenner
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
Totally Zenned
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?
Totally Zenned
Or, some installed mods on the site added an additional column to the table,
Totally Zenned
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.
New Zenner
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.
New Zenner
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!
New Zenner
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 :(
Totally Zenned
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?
Zen Follower
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.jpgwhat would I edit to make it link the extra images to just how they are which is
/images/image_name_02.jpgThanks 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
New Zenner
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
New Zenner
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
New Zenner
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:
New Zenner
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
Totally Zenned
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?
New Zenner
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.
Totally Zenned
Did additional images work before you installed Zen Lightbox?
New Zenner
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.
Fields marked required must be completed.
Tell staff why this post should be reviewed.