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

Zen Lightbox addon [Support Thread]

Views: 953,090

Results 1,141 to 1,160 of 3,722
1 Dec 2008, 9:37 AM
#1141
ces avatar

ces

Zen Follower

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

Zen Lightbox addon [Support Thread]

Try changing the 'z-index' on either or both of the css files.

Craig

2 Dec 2008, 12:23 PM
#1142
anna718 avatar

anna718

New Zenner

Join Date:
Dec 2008
Location:
Tasmania. Australia
Posts:
35
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Added the div class hide suggested by Craft Magick, which made it work perfectly for me, after giving me nothing prior to that change. Excellent lightbox. Only thing is that I have close on overlay click set to true but the lightbox still only closes when the close link is clicked.

Would be nice to have it close on a click anywhere on the image, but no nig deal if that is not functional.

Thanks for the add on :D

2 Dec 2008, 7:02 PM
#1143
knobbery avatar

knobbery

New Zenner

Join Date:
Nov 2008
Posts:
7
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

knobbery:

Hello,

A new user here, we have a new zencart that has been implemented and i installed he zen lightbox yesterday. Works like a charm, however i have 1 issue, that perhaps someone could shed some light

1- If my product has no attributes defined, the lighbox works fine. ex here

2- However if my product has attributes defined, the image still opens up in a pop up. Ex here

We use the same product image for the attributes but for some reason the lightbox wont be triggered for these products.

Please any suggestions would be great

Thanks

HI,

Does anyone have any pointers for me on this issue..

Any help would be appreciated

Thanks
Ameet

3 Dec 2008, 6:19 PM
#1144
craft_magick avatar

craft_magick

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

CES:

Try changing the 'z-index' on either or both of the css files.

Craig

Please forgive my ignorance, but what is the 'z-index' and where/how do I change it to?

My drop-down menu header bar is still showing up in front of the product image (unless you happen to be scrolled further down the screen when you click on the image - which is why I thought the issue was resolved!)

Here is what I have currently listed in the admin>config>zen lightbox>div class to hide section:

zenLightboxHideMe,.submenu,.level1,.level2

Perhaps I am misunderstanding the difference between div class and div id ??? :frusty: (I'm a novice with css)

Running zc version 1.3.8 with the zencart_zen template

Here's a link to the website
https://www.ZenCrystals.com

Any help is appreciated...

Zencart ROCKS :clap:

P.S. Anna718, glad my solution worked for you :clap:

4 Dec 2008, 9:11 AM
#1145
ces avatar

ces

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

Hi

I've had a quick look at your css and it looks as if your z-indexes should work, I think!

Try looking on the dropdown menu support forum:
http://www.zen-cart.com/forum/showthread.php?t=58629

Or, you could try Fual Slimbox (Lightbox) instead:
http://www.zen-cart.com/forum/showthread.php?t=82990

Craig

4 Dec 2008, 7:15 PM
#1147
xergos055 avatar

xergos055

New Zenner

Join Date:
Nov 2008
Posts:
36
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Please nobody ken help mee ?

I discover if i press on the page with the name COMENTARII and after dat i push on the pictures, the light box worg verry good.But if i go CATEGORII - > PRODUCT - > AND -> PUSH OF THE IMAGE PRODUCT is not work (is not load the image.)

Please help mee ...

Sorry for my bad english !

Best regards !

4 Dec 2008, 7:23 PM
#1148
craft_magick avatar

craft_magick

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

Thank you CES for the links. After much research, trial and error, and finding solutions that did not solve the issue, it turns out that your original suggestion a few days ago of just changing the 'z-index' worked perfectly. My problem was, I had no clue WHAT a z-index was (I do NOW:smile:) nor did I know WHAT file to look for it in or where to even begin looking or what to change even if i found it...

So, in case there are any other non-programmers/css/php/sql savvy zencart users out there besides me... and for anyone else that has tirelessly researched these boards looking for a way to get lightbox to appear in FRONT of a css drop-down header menu...

Here is the ultimate solution that has finally and successfully worked for me....

  1. open the following file:
    /includes/templates/YOUR_TEMPLATE/css/stylesheet_lightbox.css

  2. at the top of the page find this code:

#lightbox{
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}
  1. change the value of z-index from 100 to 9000

TA-DA... :hug: THE PERFECT INTEGRATION OF LIGHTBOX WITH A CSS DROP DOWN HEADER MENU :clap:

So thank you VERY much for your z-index suggestion that worked perfectly once I figured out what it meant :blush:

Zencart ROCKS :clap:

4 Dec 2008, 8:58 PM
#1149
countrycharm avatar

countrycharm

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

Always clear your cache on your browser when ever you change things. This way it will always show you what you have changed.

4 Dec 2008, 10:23 PM
#1150
craft_magick avatar

craft_magick

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

countrycharm:

Always clear your cache on your browser when ever you change things. This way it will always show you what you have changed.

Thank you very much for the tip Countrycharm, I appreciate it. I always 'refresh' the page, but I probably could have saved myself hours of frustration by simply clearing the cache, as well.

I appreciate your taking the time to offer this valueable suggestion and will definitely take heed.

Have a joyous, safe, and blessed holiday season.

Zencart ROCKS :clap:

7 Dec 2008, 5:13 PM
#1151
carilivia avatar

carilivia

New Zenner

Join Date:
Dec 2006
Posts:
32
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

For everyone that is getting this error when trying to add the installation SQL patch into their Zen Cart. What the problem is, is an extra table in your configuration_group from working with a website that is in multiple languages. You have to modify your SQL to work. I used the code below and it worked great!

INSERT INTO configuration_group
VALUES (

NULL , 'Zen Lightbox', 'Configure Zen Lightbox options', '1', '1'
);

MySQL meldet:

#1136 - Column count doesn't match value count at row 1

***********Use the code below instead

INSERT INTO configuration_group VALUES (NULL, 'Zen Lightbox', 'Configure Zen Lightbox options', '1', '1', '1');
UPDATE configuration_group SET sort_order = last_insert_id() WHERE configuration_group_id = last_insert_id();

SET @t4=0;
SELECT (@t4:=configuration_group_id) as t4
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, 'Enable Zen Lightbox?', '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 />- product_free_shipping_info<br />- product_info<br />- product_music_info<br />- product_reviews<br />- product_reviews_info<br />- product_reviews_write<br /><br />Please note: To completely remove Zen Lightbox you will need to manually delete the installation files.<br /><br /><b>Default: true</b>', @t4, 1, 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>', @t4, 2, 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_DURATION', '0.2', '<br />Controls the fade duration of the overlay.<br /><br /><b>Default: 0.2</b>', @t4, 3, 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, 'Enable Resize Animations?', 'ZEN_LIGHTBOX_RESIZE_ANIMATIONS', 'true', '<br />If true, the lightbox will be animated as it appears on the screen.<br /><br /><b>Default: true</b>', @t4, 4, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '),
(NULL, 'Resize Speed', 'ZEN_LIGHTBOX_RESIZE_SPEED', '7', '<br />Controls the speed of the image resizing.<br /><br />(1 = slowest and 10 = fastest)<br /><br /><b>Default: 7', @t4, 5, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''1'', ''2'', ''3'', ''4'', ''5'', ''6'', ''7'', ''8'', ''9'', ''10''), '),
(NULL, 'Border Size', 'ZEN_LIGHTBOX_BORDER_SIZE', '10', '<br />If you adjust the padding in the CSS file, you will need to update this variable.<br /><br />Please note: This value is measured in pixels.<br /><br /><b>Default: 10</b><br />', @t4, 6, NOW(), NOW(), NULL, NULL),
(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>', @t4, 7, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '),
(NULL, 'Hide Flash Objects?', 'ZEN_LIGHTBOX_HIDE_FLASH', 'true', '<br />If true, all Flash objects will be hidden when the lightbox is displayed.<br /><br /><b>Default: true</b>', @t4, 8, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '),
(NULL, 'DIV Class to Hide', 'ZEN_LIGHTBOX_HIDE_ME', 'zenLightboxHideMe', '<br />Any content wrapped in a DIV tag with this class will be hidden when the lightbox is displayed.<br /><br /><b>Default: zenLightboxHideMe</b><br />', @t4, 9, NOW(), NOW(), NULL, NULL);

10 Dec 2008, 4:26 AM
#1152
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Dear all,

My website have some little problem with Zencart Light box + You tuble video code.

When i click into image of product which have video from you tuble. The image behind the video ! How to configure for image show in the first ?

This is image:

KIM SON

Thanks you !! :clap:

10 Dec 2008, 7:46 PM
#1153
brown12321 avatar

brown12321

New Zenner

Join Date:
Oct 2008
Posts:
12
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Is there any detailed instructions for removing this MOD?

10 Dec 2008, 8:22 PM
#1154
brown12321 avatar

brown12321

New Zenner

Join Date:
Oct 2008
Posts:
12
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

brown12321:

Is there any detailed instructions for removing this MOD?

The reason I ask is because I tried to go by what I installed and remove those files, Once I did the Product Info pages were black when I go to view a product.

10 Dec 2008, 8:51 PM
#1155
brown12321 avatar

brown12321

New Zenner

Join Date:
Oct 2008
Posts:
12
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

The reason I want to remove, its not working with extra images. I have made sure the file name is correct with the extension and still additional images do not work.

17 Dec 2008, 12:34 AM
#1156
alex_clarke avatar

alex_clarke

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

Just a quick update...

I've spent the last few weeks working on Zen Lightbox v1.5 and can confirm that it will be released within the next 48 hours.

It's packed full of bug fixes, new features and much more!

At present, I'm just about to write the new installation SQL and then update the documentation. Once complete I'll upload v1.5 to the contributions section and post a follow-up here.

So, if anyone is planning on installing Zen Lightbox (or fixing an existing bug) you might want to save some time and wait for the update. :cool:

Best Regards,

Alex

17 Dec 2008, 1:42 AM
#1157
countrycharm avatar

countrycharm

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

Sounds good Alex can't wait. :clap:

17 Dec 2008, 12:47 PM
#1158
snowy2007 avatar

snowy2007

Zen Follower

Join Date:
Mar 2008
Posts:
100
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi all - quick question about this contrib before I install it :

Will it do the following :

When customers are looking through the list of products on my shop they, obviously, see a small image on the product in the list. I want them to be able to hover the mouse over the image and for the full size image to pop-up. Please note : I only have one size of images on my site.

THanks in advance for any advice.

17 Dec 2008, 1:24 PM
#1159
alex_clarke avatar

alex_clarke

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

This is part of what Image Handler 2 does, not Zen Lightbox.

You can use IH2 and Zen Lightbox together and benefit the functionality that both contributions offer.

However, if you're thinking of installing Zen Lightbox you may as well wait for the v1.5 release (in a few hours time).

17 Dec 2008, 1:43 PM
#1160
snowy2007 avatar

snowy2007

Zen Follower

Join Date:
Mar 2008
Posts:
100
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Thanks V much for the reply Alex. If it isn't a silly question, what exactly does Lightbox do?