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

Zen Lightbox addon [Support Thread]

Views: 953,130

Results 1,361 to 1,380 of 3,722
28 Mar 2009, 2:34 PM
#1361
the_doomsayer avatar

the_doomsayer

New Zenner

Join Date:
Feb 2009
Location:
Thailand
Posts:
50
Plugin Contributions:
0

Zen Lightbox addon [Support Thread]

OK Lighbox is installed and working but

When I go to Confuguration I have 2 Zen Lightbox selections to click on. Doesnt matter which one I click there arent any options in the configuration panel for images etc.

Any ideas?

29 Mar 2009, 6:36 PM
#1362
abidan avatar

abidan

New Zenner

Join Date:
Mar 2009
Posts:
26
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi

I have installed all files but on 2 installations of zen cart that i am running i cant get the SQL script to run without error... this is what i get:

1146 Table 'abidan_cars.configuration_group' doesn't exist
in:
[SELECT @cgi := configuration_group_id FROM configuration_group WHERE configuration_group_title = 'Zen Lightbox';]
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.

Why wont it work, it looks like the table exists to me?

29 Mar 2009, 6:43 PM
#1363
abidan avatar

abidan

New Zenner

Join Date:
Mar 2009
Posts:
26
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

it doesnt like this liine:
SELECT @cgi := configuration_group_id FROM configuration_group WHERE configuration_group_title = 'Zen Lightbox';

29 Mar 2009, 6:45 PM
#1364
abidan avatar

abidan

New Zenner

Join Date:
Mar 2009
Posts:
26
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

i removed that line from the script and all seems to be working? will that do any harm?

29 Mar 2009, 6:55 PM
#1365
raid71 avatar

raid71

New Zenner

Join Date:
Mar 2009
Posts:
1
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

grandpa_shea:

I used this one:

Good luck!

I had also same problem ... I couldnt run sql script without error but I just copy above script and it went through !:smile:

29 Mar 2009, 10:51 PM
#1366
gineta avatar

gineta

New Zenner

Join Date:
Mar 2009
Posts:
19
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi
I install but I not het nothing in - configuration Zen Lightbox The module is aunty only the name

Please is possible any here post the correct SQL script

Thanks
:shocking:

31 Mar 2009, 10:33 AM
#1367
cocteau avatar

cocteau

New Zenner

Join Date:
Feb 2009
Posts:
15
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hello Alex I'm a big fans of ZenLighbox. I tried 4 to 5 other lightbox addon and finally keep using ZenBox. Just because, I like the fonts design of yours! :laugh:

However, when I upgrade from v1.4 to 1.5. I found a fatal problem! It seems caused by the new JS... I won't say it is a bug because actually it is a SMART improvement. The new JS will always keep the box centered on the browser. if I open an image by the lightbox, then resize the browser window, you may see the box jump to center. It really smart!

However, this cause a big problem on some kinds of "small screen" machine. Such as a 14" 800x600 monitor, or iphone.
For example, I have a picture it's a size chart, 1024x768 big. If I browse it on a 800x600 monitor, I just see the left part of the chart. If I want to see the most right, I have the scroll to right. But the v1.5 JS is too smart to keep the chart ALWAYS centered the browser. Means I have no way to see the whole chart! :(

If I browse the same chart on an iphone. I must enlarge the whole browse window to make the chart big enough to view. But the same problem, I just can always focus the middle part of the chart.

v1.4 and other lightbox I tested have no this problem. (they are not smart then v1.5) :P
Will you consider make a solution on the coming v1.6?

(I doubt that here is no one noted this problem. Or just me have a small screen machine??)

31 Mar 2009, 11:34 PM
#1368
madkaw9 avatar

madkaw9

New Zenner

Join Date:
Feb 2009
Posts:
22
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I had this installed and everything was fine. Now if I click on an image to show the lightbox the next, prev and close buttons do not display. Firefox shows nothing an IE shows 1 image holder X. Nothings changed and was working for months.

Any ideas?

Thanks

1 Apr 2009, 3:11 PM
#1369
lian avatar

lian

New Zenner

Join Date:
May 2008
Posts:
25
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I am getting the same sql error as Abidan,

I removed the line, and it does install into admin, but the configuration is empty.

The images now open in a blank white page, then you have to press back to get back to the site.

I have tried with and without image handler.

1 Apr 2009, 3:38 PM
#1370
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

If you have zen lightbox under configuration but nothing there you
will have to go to your database.
Log on to your sever database phpMyAdmin after that pick your database name, click on the link to the left configuration_group. Check the box configuration_group_title click browse and find Zen Lightbox and delete it. You will have to delete everything that deals with zen lightbox. Go to phpMyAdmin, click on configuration on your left then Check the box on configuration_title click browse and look for everything that deals with Zen Lightbox and delete it. Copy and past the SQL in your store admin you should be good to go.
As always backup, backup, backup. I have use this lightbox for a long time. I had to do what I am telling you the first time I installed it. I went to another lightbox now.

2 Apr 2009, 10:15 PM
#1371
arlette avatar

arlette

New Zenner

Join Date:
May 2006
Posts:
29
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi. I am having problems with my lightbox not working within Opera. No problems in FF or IE. I have a new shop. ZenCart 1.3.8a
Cherry Zen Template. Zen Lightbox v1.5. Any suggestions what is keeping this from working in Opera? Below is a link to a product with multiple images.

http://www.asembroidery.com/catalog/index.php?main_page=product_info&cPath=7&products_id=11

TIA
Arlette

3 Apr 2009, 8:24 AM
#1372
ambra avatar

ambra

New Zenner

Join Date:
Jun 2008
Posts:
24
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

hi I encounter problem during "fresh" installation of ZenLightbox

Success 4 statements processed.
Error ERROR: Cannot insert configuration_key "" because it already exists
Warning Note: 1 statements ignored. See "upgrade_exceptions" table for additional details.

any suggestion plz!

4 Apr 2009, 12:35 PM
#1373
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

I upgraded to 1.5 and everything was fine except for a minor issue I am currently experiencing.

SCENARIO 1: If Gallery Mode and Include Main Image in Gallery are both set to true zen light works fine except that the main image is included as an additional image. This means if you have one image (main product image) when you enlarge, you actually get 2 copies of the same image being displayed as 1 of 1 and 1 of 2. This I think should be expected based on the configuration setting.

SCENARIO 2: If Gallery Mode is set to true and Include Main Image in Gallery is set to false zen light doesn't work right. When you click on large image the main image is enlarged but none of the additional images are displayed and the next and previous buttons are gone. This to me appears to be a bug.

SCENARIO 3: If Gallery Mode and Include Main Image in Gallery are both set to false zen light does work either. It displays the main image on clicking large image but none of the additional images are displayed.

I don't mind the configuration setting in 1 except that it's not user friendly displaying duplicate image. It's also not user friendly to display the same image twice when only one image is present.

It looks like this code may have something to do with it:

<?php
if (ZEN_LIGHTBOX_STATUS == 'true') {
  if (ZEN_LIGHTBOX_GALLERY_MODE == 'true' && ZEN_LIGHTBOX_GALLERY_MAIN_IMAGE == 'true') {
    $rel = 'lightbox-g';
  } else {
    $rel = 'lightbox';
  }
?>

Any help is appreciated.

8 Apr 2009, 9:38 AM
#1374
ambra avatar

ambra

New Zenner

Join Date:
Jun 2008
Posts:
24
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Ambra:

hi I encounter problem during "fresh" installation of ZenLightbox

Success 4 statements processed.
Error ERROR: Cannot insert configuration_key "" because it already exists
Warning Note: 1 statements ignored. See "upgrade_exceptions" table for additional details.

any suggestion plz!

Bottom line is i am back on Lightbox 1.4 which was so easy to install.
and its working perfectly , you can check yourself !!!
http://www.ambradudnik.it/cuoredellealpi/index.php?main_page=index

8 Apr 2009, 5:13 PM
#1375
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

When you tried installing it many times, did you remove every file that was installed by both the previous version and code from the files along with the tables in the database?

It did not come with an uninstaller so everything had to be removed manually.

Then if you installed the new one and it still did not work right did you run the uninstaller before attempting it again?

19 Apr 2009, 4:03 AM
#1376
mdavis007 avatar

mdavis007

New Zenner

Join Date:
Mar 2007
Posts:
6
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi,

I just recently installed zen lightbox. Everything seems to work fine with the exception of the prev, next, and close images in FF3. If I hover over the areas i get the alt text and a clickable area but no image. If I open the page in IE 7 all images show fine. I looked around a saw some other people had the same issue but I could not seem to track down an answer.

TIA
~Mike

19 Apr 2009, 2:01 PM
#1377
starruby avatar

starruby

Zen Follower

Join Date:
Nov 2007
Posts:
96
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi Alex,

I just upgraded Zen Lightbox from 1.4 to v1.5

At first it showed up the following error (as faced by other users too):

1146 Table 'starruby_zc1.configuration_group' doesn't exist
in:
[SELECT @cgi := configuration_group_id FROM configuration_group WHERE configuration_group_title = 'Zen Lightbox';]
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 then ran the uninstall sql code twice and then inserted the modified installation code that you have posted in this thread:

/**

  • Zen Lightbox
  • @author Alex Clarke (aclarke AT ansellandclarke DOT co DOT uk)
  • @copyright Copyright 2003-2005 Zen Cart Development Team
  • @copyright Portions Copyright 2003 osCommerce
  • @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
  • @version $Id: install.sql 2009-01-13 aclarke $
    */
    INSERT INTO configuration_group VALUES (NULL, 'Zen Lightbox', 'Configure Zen Lightbox settings', '0', '1');
    UPDATE configuration_group SET sort_order = LAST_INSERT_ID() WHERE configuration_group_id = LAST_INSERT_ID();
    SELECT (@cgi := configuration_group_id) FROM configuration_group WHERE configuration_group_title = 'Zen
    Lightbox';
    INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value,
    configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function,
    set_function) VALUES
    (NULL, '<b>Zen Lightbox</b>', 'ZEN_LIGHTBOX_STATUS', 'true', '<br />If true, all product images on the following
    pages will be displayed within a lightbox:<br /><br />- document_general_info<br />- document_product_info<br />-
    page (EZ-Pages)<br />- product_free_shipping_info<br />- product_info<br />- product_music_info<br />-
    product_reviews<br />- product_reviews_info<br />- product_reviews_write<br /><br /><b>Default: true</b>', @cgi,
    100, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '),
    (NULL, 'Overlay Opacity', 'ZEN_LIGHTBOX_OVERLAY_OPACITY', '0.8', '<br />Controls the transparency of the overlay.<br /><br /><b>Default: 0.8</b>', @cgi, 101, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''0'', ''0.1'', ''0.2'',
    ''0.3'', ''0.4'', ''0.5'', ''0.6'', ''0.7'', ''0.8'', ''0.9'', ''1''), '),
    (NULL, 'Overlay Fade Duration', 'ZEN_LIGHTBOX_OVERLAY_FADE_DURATION', '400', '<br />Controls the fade duration of
    the overlay.<br /><br />Note: This value is measured in milliseconds.<br /><br /><b>Default: 400</b><br />', @cgi,
    102, NOW(), NOW(), NULL, NULL),
    (NULL, 'Resize Duration', 'ZEN_LIGHTBOX_RESIZE_DURATION', '400', '<br />Controls the speed of the image resizing.<br /><br />Note: This value is measured in milliseconds.<br /><br /><b>Default: 400</b><br />', @cgi, 103, NOW(),
    NOW(), NULL, NULL),
    (NULL, 'Resize Transition', 'ZEN_LIGHTBOX_RESIZE_TRANSITION', 'false', '<br />Allows for custom control over the
    transition effect used to animate the lightbox.<br /><br /><b>Default: false</b><br />', @cgi, 104, NOW(), NOW(),
    NULL, NULL),
    (NULL, 'Initial Width', 'ZEN_LIGHTBOX_INITIAL_WIDTH', '250', '<br />If Enable Resize Animations is set to true, the
    lightbox will resize its width from this value to the current image width, when first displayed.<br /><br />Note:
    This value is measured in pixels.<br /><br /><b>Default: 250</b><br />', @cgi, 105, NOW(), NOW(), NULL, NULL),
    (NULL, 'Initial Height', 'ZEN_LIGHTBOX_INITIAL_HEIGHT', '250', '<br />If Enable Resize Animations is set to true,
    the lightbox will resize its height from this value to the current image height, when first displayed.<br /><br />Note: This value is measured in pixels.<br /><br /><b>Default: 250</b><br />', @cgi, 106, NOW(), NOW(), NULL,
    NULL),
    (NULL, 'Image Fade Duration', 'ZEN_LIGHTBOX_IMAGE_FADE_DURATION', '400', '<br />Controls the fade duration of
    images.<br /><br />Note: This value is measured in milliseconds.<br /><br /><b>Default: 400</b><br />', @cgi, 107,
    NOW(), NOW(), NULL, NULL),
    (NULL, 'Caption Animation Duration', 'ZEN_LIGHTBOX_CAPTION_ANIMATION_DURATION', '400', '<br />Controls the animation
    duration of the caption.<br /><br />Note: This value is measured in milliseconds.<br /><br /><b>Default: 400</b><br />', @cgi, 108, NOW(), NOW(), NULL, NULL),
    (NULL, 'Display Image Counter', 'ZEN_LIGHTBOX_COUNTER', 'true', '<br />If true, the image counter will be displayed
    (below the caption of each image) within the lightbox.<br /><br /><b>Default: true</b>', @cgi, 109, NOW(), NOW(),
    NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),
    (NULL, 'Close on Image Click', 'ZEN_LIGHTBOX_CLOSE_IMAGE', 'false', '<br />If true, the lightbox will close when the
    image being displaying is clicked.<br /><br /><b>Default: false</b>', @cgi, 110, NOW(), NOW(), NULL,
    'zen_cfg_select_option(array(''true'', ''false''), '),
    (NULL, 'Close on Overlay Click', 'ZEN_LIGHTBOX_CLOSE_OVERLAY', 'false', '<br />If true, the lightbox will close when
    the overlay is clicked.<br /><br /><b>Default: false</b>', @cgi, 111, NOW(), NOW(), NULL,
    'zen_cfg_select_option(array(''true'', ''false''), '),
    (NULL, '<b>Keyboard Navigation</b>', 'ZEN_LIGHTBOX_KEYBOARD_NAVIGATION', 'true', '<br />If true, keyboard inputs
    will also be used to control the lightbox.<br /><br /><b>Default: true</b>', @cgi, 200, NOW(), NOW(), NULL,
    'zen_cfg_select_option(array(''true'', ''false''), '),
    (NULL, 'Close Lightbox', 'ZEN_LIGHTBOX_ESCAPE_KEYS', '27,88,67', '<br />The lightbox will close when any of these
    keys are pressed.<br /><br />Note: Only <a href="http://en.wikipedia.org/wiki/ASCII" target="_blank">ASCII</a>
    decimal values should be entered and separated with a comma (if listing multiple values).<br /><br /><b>Default:
    27,88,67</b><br />', @cgi, 201, NOW(), NOW(), NULL, NULL),
    (NULL, 'Previous Image', 'ZEN_LIGHTBOX_PREVIOUS_KEYS', '37,80', '<br />The lightbox will display the previous image
    (if available) when any of these keys are pressed.<br /><br />Note: Only <a href="http://en.wikipedia.org/wiki/ASCII" target="_blank">ASCII</a> decimal values should be entered and separated
    with a comma (if listing multiple values).<br /><br /><b>Default: 37,80</b><br />', @cgi, 202, NOW(), NOW(), NULL,
    NULL),
    (NULL, 'Next Image', 'ZEN_LIGHTBOX_NEXT_KEYS', '39,78', '<br />The lightbox will display the next image (if
    available) when any of these keys are pressed.<br /><br />Note: Only <a href="http://en.wikipedia.org/wiki/ASCII" target="_blank">ASCII</a> decimal values should be entered and separated with a comma (if listing multiple
    values).<br /><br /><b>Default: 39,78</b><br />', @cgi, 203, NOW(), NOW(), NULL, NULL),
    (NULL, '<b>Gallery Mode</b>', 'ZEN_LIGHTBOX_GALLERY_MODE', 'true', '<br />If true, the lightbox will allow
    additional images to quickly be displayed using previous and next buttons.<br /><br /><b>Default: true</b>', @cgi,
    300, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),
    (NULL, 'Include Main Image in Gallery', 'ZEN_LIGHTBOX_GALLERY_MAIN_IMAGE', 'true', '<br />If true, the main product
    image will be included in the lightbox gallery.<br /><br /><b>Default: true</b>', @cgi, 301, NOW(), NOW(), NULL,
    'zen_cfg_select_option(array(''true'', ''false''),'),
    (NULL, '<b>EZ-Pages Support</b>', 'ZEN_LIGHTBOX_EZPAGES', 'true', '<br />If true, the lightbox effect will be used
    for linked images on all EZ-Pages.<br /><br /><b>Default: true</b>', @cgi, 400, NOW(), NOW(), NULL,
    'zen_cfg_select_option(array(''true'', ''false''),'),
    (NULL, 'File Types', 'ZEN_LIGHTBOX_FILE_TYPES', 'jpg,png,gif', '<br />On EZ-Pages, the lightbox effect will be
    applied to all images with one of the following file types.<br /><br /><b>Default: jpg,png,gif</b><br />', @cgi,
    401, NOW(), NOW(), NULL, NULL);

The light box runs well now but the problem I am facing is that the "Next" button and "Image 1 of 3" are not being displayed. Also, the full product name is not displayed on the bottom left hand side of the large image.

Please see this product:

http://www.starruby.in/store/sapphire-cabochons/5-40-carat-if-bi-color-ceylon-sapphire-cabochon-with-asterism

I am running Zen Cart v1.3.7

Thanks for your help.

Harshil

19 Apr 2009, 2:17 PM
#1378
starruby avatar

starruby

Zen Follower

Join Date:
Nov 2007
Posts:
96
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Ok... Got it to work. I had the zen lightbox v1.4 code in the includes/templates/apple_zen/tpl_modules_main_product_image.php file. Changed it to the v1.5 code.

Thanks,
Harshil

20 Apr 2009, 6:00 PM
#1379
tiny avatar

tiny

New Zenner

Join Date:
Apr 2009
Posts:
15
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hello every one i seem to be having a few problems with this lightbox i have managed to install the sql with the prefixs and that seems fine but i just get the originol popups no lightbox effect.i am using the classic template so do i add the folders to the classic or the default template folder thank you

21 Apr 2009, 12:27 PM
#1380
mdavis007 avatar

mdavis007

New Zenner

Join Date:
Mar 2007
Posts:
6
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

tiny:

Hello every one i seem to be having a few problems with this lightbox i have managed to install the sql with the prefixs and that seems fine but i just get the originol popups no lightbox effect.i am using the classic template so do i add the folders to the classic or the default template folder thank you

Did you change the name of the folders called YOUR_TEMPLATE to the name of your actual template? i.e. classic