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

Zen Lightbox addon [Support Thread]

Views: 952,693

Results 3,341 to 3,360 of 3,722
24 Jan 2013, 7:27 PM
#3341
monet60707 avatar

monet60707

New Zenner

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

Zen Lightbox addon [Support Thread]

Hi,

I just upgraded to zen 1.5.1 and installed the zen lightbox 1.6.4. It works fine but does not show "close" button. It does show the "loading.gif" image, so it is strage that the "close" button does not. I did check the paths in "stylesheet_zen_lightbox.css" and they are fine pointing to "../images/zen_lightbox/closelabel.gif". Is there any other stylesheet that I should take a look at? Any suggestion are appreciated.
Please, take a look here: http://www.teaandmore.ca/index.php?main_page=product_info&cPath=2&products_id=22

24 Jan 2013, 7:39 PM
#3342
niestudio avatar

niestudio

Zen Follower

Join Date:
Nov 2009
Posts:
285
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

looks like its working to me

24 Jan 2013, 7:48 PM
#3343
monet60707 avatar

monet60707

New Zenner

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

Re: Zen Lightbox addon [Support Thread]

I've reuploaded all files and checked the folder names and it is working now. I guess I missed something but thank you Niestudio for the confirmation.

19 Feb 2013, 4:13 PM
#3344
smokeyangel avatar

smokeyangel

New Zenner

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

Re: Zen Lightbox addon [Support Thread]

I have just installed lightbox and I'm getting errors when I try to run the SQL via the administration panel. I used the alternate method and got this message:

Error
#1062 - Duplicate entry 'ZEN_LIGHTBOX_STATUS' for key 'unq_config_key_zen'

Any suggestions?

Thanks in advance,

Sharon

19 Feb 2013, 9:37 PM
#3345
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

smokeyangel:

I have just installed lightbox and I'm getting errors when I try to run the SQL via the administration panel. I used the alternate method and got this message:

Error
#1062 - Duplicate entry 'ZEN_LIGHTBOX_STATUS' for key 'unq_config_key_zen'

Any suggestions?

Thanks in advance,

Sharon

what was the error you got when trying thru admin panel.

try running the uninstall script...twice to totallly get rid of any tables.

then when you run the script again IF you have 1.3.9h then copy all except the bottom bit about 1.5 code...run that in admin panel

OR

if you are running 1.5.1 store then take off the // in fromt of the 1.5 part of the code then copy paste all into admin panel

it should work

19 Feb 2013, 10:48 PM
#3346
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Zen Lightbox addon [Support Thread]

smokeyangel:

I have just installed lightbox and I'm getting errors when I try to run the SQL via the administration panel. I used the alternate method and got this message:

Error
#1062 - Duplicate entry 'ZEN_LIGHTBOX_STATUS' for key 'unq_config_key_zen'

Any suggestions?

Thanks in advance,

SharonSounds like you ran the SQL twice.. run the uninstall SQL and then re-run the install SQL again..

27 Feb 2013, 9:05 AM
#3347
royalb avatar

royalb

New Zenner

Join Date:
Feb 2013
Posts:
3
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi, Im sure you have heard this before but I just recently installed lightbox on my website and all i get is a blank white screen with the close button and the name of the product at the bottom. I was wondering how or what is needed to fix the issue.

27 Feb 2013, 2:52 PM
#3348
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Zen Lightbox addon [Support Thread]

royalb:

Hi, Im sure you have heard this before but I just recently installed lightbox on my website and all i get is a blank white screen with the close button and the name of the product at the bottom. I was wondering how or what is needed to fix the issue.

Without link to your site, we couldn't begin to guess. The issue could be anything from an incomplete install to another add-on conflicting, or even your template.. You will have to provide more information.. (a link to your site might be useful)

27 Feb 2013, 8:18 PM
#3349
royalb avatar

royalb

New Zenner

Join Date:
Feb 2013
Posts:
3
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Here is my website. Im still in the process of building it. https://www.royalbeatdown.com

6 Mar 2013, 10:37 PM
#3350
royalb avatar

royalb

New Zenner

Join Date:
Feb 2013
Posts:
3
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

DivaVocals:

Without link to your site, we couldn't begin to guess. The issue could be anything from an incomplete install to another add-on conflicting, or even your template.. You will have to provide more information.. (a link to your site might be useful)

This is my website https://www.royalbeatdown.com

6 Mar 2013, 10:49 PM
#3351
niestudio avatar

niestudio

Zen Follower

Join Date:
Nov 2009
Posts:
285
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

Try removing the special (characters**)** from your image names and see if that helps.

9 Mar 2013, 2:30 PM
#3352
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Zen Lightbox addon [Support Thread]

Odd issue.. The search form is showing on top of the the lightbox.. See here:
http://www(dot)laserdiscvault(dot)co...-1988-ID5270NW. When you click an image the search form is overlayed on top of the lightbox..

scratching my head

Any ideas???

9 Mar 2013, 9:18 PM
#3353
niestudio avatar

niestudio

Zen Follower

Join Date:
Nov 2009
Posts:
285
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

this style is doing that

#navMainSearch{float:right;position:relative;top:-97px;right:10px;z-index:15000;}

you could try setting the z-index to 9998 and that should fix it

10 Mar 2013, 8:38 AM
#3354
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Zen Lightbox addon [Support Thread]

niestudio:

this style is doing that

#navMainSearch{float:right;position:relative;top:-97px;right:10px;z-index:15000;}

> you could try setting the z-index to 9998 and that should fix it
I tried something like that first, but then the search form wouldn't work (as in I couldn't click inside the search form) So I made a slight change in the **stylesheet_zen_lightbox.css**.. 

From:

#lbCenter, #lbBottomContainer {
position: absolute;
z-index: 9999;
overflow: hidden;
background-color: #fff;
}


To:

#lbCenter, #lbBottomContainer {
position: absolute;
z-index: 16000;
overflow: hidden;
background-color: #fff;
}

The template and lightbox seem to play nicely together now.. Is there any issue that you can see that this change might cause??
10 Mar 2013, 4:16 PM
#3355
niestudio avatar

niestudio

Zen Follower

Join Date:
Nov 2009
Posts:
285
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

No, the change should be fine. I've never seen a site that actually needed 15000 levels of depth. I guess they just want to be safe :)

10 Mar 2013, 5:19 PM
#3356
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Zen Lightbox addon [Support Thread]

niestudio:

No, the change should be fine. I've never seen a site that actually needed 15000 levels of depth. I guess they just want to be safe :)
Probably not.. That actually comes from the template I'm using as the basis of the site template.. Every time I messed with the search forms's z-index, the search form stops working.. so I approached it the other way by adjusting the lightbox stylesheet.. but as long as I didn't harm anything, I'll leave well enough alone.. :smile: Thanks for the hand..

13 Mar 2013, 9:36 PM
#3357
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Not working and no sign of it under the Configuration menu in admin.

Hi...thanks for this mod...I have it working on my old shop and am doing a clean install of 1.5.1 on another server.

all the files are uploaded properly.

My template is chosen properly in the admin.

I ran the sql with PHPMyAdmin and feared I ran it twice so ran the uninstall sql.

Ran the sql in the zen admin with these results: "5 statements processed"

Any insights as to what is wrong appreciated.

Query Results:
/** * Zen Lightbox * * @author Alex Clarke ([email protected]) * @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 2008-12-17 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, 'Zen Lightbox', 'ZEN_LIGHTBOX_STATUS', 'true', '
If true, all product images on the following pages will be displayed within a lightbox:

- document_general_info
- document_product_info
- page (EZ-Pages)
- product_free_shipping_info
- product_info
- product_music_info
- product_reviews
- product_reviews_info
- product_reviews_write

Default: true', @cgi, 100, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), (NULL, 'Overlay Opacity', 'ZEN_LIGHTBOX_OVERLAY_OPACITY', '0.8', '
Controls the transparency of the overlay.

Default: 0.8', @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', '
Controls the fade duration of the overlay.

Note: This value is measured in milliseconds.

Default: 400
', @cgi, 102, NOW(), NOW(), NULL, NULL), (NULL, 'Resize Duration', 'ZEN_LIGHTBOX_RESIZE_DURATION', '400', '
Controls the speed of the image resizing.

Note: This value is measured in milliseconds.

Default: 400
', @cgi, 103, NOW(), NOW(), NULL, NULL), (NULL, 'Resize Transition', 'ZEN_LIGHTBOX_RESIZE_TRANSITION', 'false', '
Allows for custom control over the transition effect used to animate the lightbox.

Default: false
', @cgi, 104, NOW(), NOW(), NULL, NULL), (NULL, 'Initial Width', 'ZEN_LIGHTBOX_INITIAL_WIDTH', '250', '
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.

Note: This value is measured in pixels.

Default: 250
', @cgi, 105, NOW(), NOW(), NULL, NULL), (NULL, 'Initial Height', 'ZEN_LIGHTBOX_INITIAL_HEIGHT', '250', '
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.

Note: This value is measured in pixels.

Default: 250
', @cgi, 106, NOW(), NOW(), NULL, NULL), (NULL, 'Image Fade Duration', 'ZEN_LIGHTBOX_IMAGE_FADE_DURATION', '400', '
Controls the fade duration of images.

Note: This value is measured in milliseconds.

Default: 400
', @cgi, 107, NOW(), NOW(), NULL, NULL), (NULL, 'Caption Animation Duration', 'ZEN_LIGHTBOX_CAPTION_ANIMATION_DURATION', '400', '
Controls the animation duration of the caption.

Note: This value is measured in milliseconds.

Default: 400
', @cgi, 108, NOW(), NOW(), NULL, NULL), (NULL, 'Display Image Counter', 'ZEN_LIGHTBOX_COUNTER', 'true', '
If true, the image counter will be displayed (below the caption of each image) within the lightbox.

Default: true', @cgi, 109, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'), (NULL, 'Close on Image Click', 'ZEN_LIGHTBOX_CLOSE_IMAGE', 'false', '
If true, the lightbox will close when the image being displaying is clicked.

Default: false', @cgi, 110, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), (NULL, 'Close on Overlay Click', 'ZEN_LIGHTBOX_CLOSE_OVERLAY', 'false', '
If true, the lightbox will close when the overlay is clicked.

Default: false', @cgi, 111, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), (NULL, 'Always show Prev / Next', 'ZEN_LIGHTBOX_PREV_NEXT', 'false', '
If true, the lightbox will always show Previous & Next buttons when using additional images. NOTE: This setting will be overwritten automatically when Close on Image Click is set to TRUE.

Default: false', @cgi, 112, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), (NULL, 'Keyboard Navigation', 'ZEN_LIGHTBOX_KEYBOARD_NAVIGATION', 'true', '
If true, keyboard inputs will also be used to control the lightbox.

Default: true', @cgi, 200, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), (NULL, 'Close Lightbox', 'ZEN_LIGHTBOX_ESCAPE_KEYS', '27,88,67', '
The lightbox will close when any of these keys are pressed.

Note: Only ASCII decimal values should be entered and separated with a comma (if listing multiple values).

Default: 27,88,67
', @cgi, 201, NOW(), NOW(), NULL, NULL), (NULL, 'Previous Image', 'ZEN_LIGHTBOX_PREVIOUS_KEYS', '37,80', '
The lightbox will display the previous image (if available) when any of these keys are pressed.

Note: Only ASCII decimal values should be entered and separated with a comma (if listing multiple values).

Default: 37,80
', @cgi, 202, NOW(), NOW(), NULL, NULL), (NULL, 'Next Image', 'ZEN_LIGHTBOX_NEXT_KEYS', '39,78', '
The lightbox will display the next image (if available) when any of these keys are pressed.

Note: Only ASCII decimal values should be entered and separated with a comma (if listing multiple values).

Default: 39,78
', @cgi, 203, NOW(), NOW(), NULL, NULL), (NULL, 'Gallery Mode', 'ZEN_LIGHTBOX_GALLERY_MODE', 'true', '
If true, the lightbox will allow additional images to quickly be displayed using previous and next buttons.

Default: true', @cgi, 300, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'), (NULL, 'Include Main Image in Gallery', 'ZEN_LIGHTBOX_GALLERY_MAIN_IMAGE', 'true', '
If true, the main product image will be included in the lightbox gallery.

Default: true', @cgi, 301, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'), (NULL, 'EZ-Pages Support', 'ZEN_LIGHTBOX_EZPAGES', 'true', '
If true, the lightbox effect will be used for linked images on all EZ-Pages.

Default: true', @cgi, 400, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'), (NULL, 'File Types', 'ZEN_LIGHTBOX_FILE_TYPES', 'jpg,png,gif', '
On EZ-Pages, the lightbox effect will be applied to all images with one of the following file types.

Default: jpg,png,gif
', @cgi, 401, NOW(), NOW(), NULL, NULL);
/* zencart 1.5 mods */ INSERT INTO admin_pages (page_key ,language_key ,main_page ,page_params ,menu_key ,display_on_menu ,sort_order)VALUES ('configZenLightbox', 'BOX_CONFIGURATION_ZEN_LIGHTBOX', 'FILENAME_CONFIGURATION', CONCAT('gID=',@cgi), 'configuration', 'Y', @cgi);
14 Mar 2013, 2:57 PM
#3358
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Got it working...ran the uninstall and the install in phpMyadmin....a few times.....finally kicked in????...some server delay I guess.

Looks great...thank you

14 Mar 2013, 3:16 PM
#3359
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

What I mean is it is working...but still not in the Configuration drop down menu in admin

19 Apr 2013, 10:55 AM
#3360
ropey avatar

ropey

New Zenner

Join Date:
Oct 2006
Posts:
87
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi there
I'm hoping there is someone out there. I'm doing an upgrade of a shop running Zen Car 1.3.7.1 to 1.5.1. I have everything ready to go, the shop down for maintenance and I had only to remove Image Handler and Lightbox from the database before proceeding. However, I can't find an uninstall.sql script for Lightbox 1.4 which is the version installed on the store. I've redownloded the zip of 1.4 and there isn't one in there. I tried running the version 5 one, but that said that there was nothing to change.

Please can someone help me? I take it I do need to remove it prior to setting up all my newly changed files and upgrading the database?

Any help gratefully received (I thought this was going to be the easy bit!)

RoPey