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

Zen Lightbox addon [Support Thread]

Views: 953,116

Results 1,301 to 1,320 of 3,722
27 Jan 2009, 2:11 AM
#1301
charinlasvegas avatar

charinlasvegas

Zen Follower

Join Date:
Jan 2009
Location:
Vegas Baby!
Posts:
311
Plugin Contributions:
0

Zen Lightbox addon [Support Thread]

Alex Clarke:

First I recommend restoring the backup.

If that doesn't sort the problem you could try setting all Zen Lightbox file permissions to 755.

Let me know how you get on... and goodluck! :smile:

Alex, I had to finally uninstall LM and now LB is working fine again.

28 Jan 2009, 8:54 PM
#1302
visexp avatar

visexp

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

Alex Clarke:

You can easily get Zen Lightbox to work on the category page.

First of all, you'll need to link that image of the bowl to the large version.

Then, copy the jscript_zen_lightbox.php file that's in the root of the v1.5 release to includes/modules/pages/index/.

That should be it. :smile:

Thanks Alex :D That worked as advertised!

30 Jan 2009, 9:42 AM
#1303
pareen avatar

pareen

New Zenner

Join Date:
Jan 2009
Posts:
8
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I am using zen 1.3.8a.

Copied all files as told on the server.

But when I run the Install.sql, I get this error:
1146 Table 'pianoin_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.

30 Jan 2009, 11:16 AM
#1304
raimond avatar

raimond

Zen Follower

Join Date:
Jul 2004
Location:
The Netherlands, Wierden
Posts:
423
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

nice job...I have a little issue. I have installed this addon and most products have jus one image.
When I click on that image it show the wonderful lightbox. But then I see a button nex and previous. When i click on them the same image will be loaded. Strange, because for the product I have only one image.

What goes wrong?

30 Jan 2009, 6:58 PM
#1305
kimsonvu avatar

kimsonvu

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

Alex Clarke:

As promised, I've looked into the installation issues with the SQL code where database tables contained prefixes.

This issue has now been resolved and the new installation SQL code can be found below.

Please note, this code is to be used with Zen Lightbox v1.5 only.

/**

  • 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 [URL]http://www.zen-cart.com/license/2_0.txt[/URL] 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="[URL]http://en.wikipedia.org/wiki/ASCII[/URL]" 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="[URL]http://en.wikipedia.org/wiki/ASCII[/URL]" 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="[URL]http://en.wikipedia.org/wiki/ASCII[/URL]" 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);
>  
> I would be grateful if everyone could report errors (or success stories) here.
>  
> Many thanks,
>  
> Alex

They work perfect with me !

Thanks you very much !


Thanks you again !

Nice to meet you !
31 Jan 2009, 5:08 PM
#1306
sara_spixels avatar

sara_spixels

New Zenner

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

Re: Zen Lightbox addon [Support Thread]

This is a great mod!! Just figured out the SQL thing and it works perfectly :)

1 Feb 2009, 2:47 AM
#1307
rainmist avatar

rainmist

New Zenner

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

Re: Zen Lightbox addon [Support Thread]

pareen:

I am using zen 1.3.8a.

Copied all files as told on the server.

But when I run the Install.sql, I get this error:
1146 Table 'pianoin_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 have the same problem. Does some kind man can tell me how to solve it? Thanks.

1 Feb 2009, 4:42 PM
#1308
mariuskem avatar

mariuskem

New Zenner

Join Date:
Jan 2009
Posts:
29
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I just installed Lightbox on my 1.3.8a version. I followed all the stept, I installed the sql file but have one problem. When I click on a image in order to enlatge it, now it has no effect. It does not enlarge anymore. I'm using IE7. You can test my problem here:
http://www.mybestcanvas.info/index.php?main_page=product_info&cPath=1&products_id=2

Any idea why?

5 Feb 2009, 10:02 PM
#1309
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

zen cart 1.3.8a

i have ih2 and ajax image swapper installed.

i just installed zen lightbox 1.5 but it does not work.

any compatibility issues i should know about?

thanks!

6 Feb 2009, 12:22 AM
#1310
markus75 avatar

markus75

New Zenner

Join Date:
Aug 2008
Posts:
46
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hello, i have problems installing this.
I uploaded the "includes" folder (after changing the subfolders with my template name).
Then i went to "tools-install sql patches" in admin panel of zencart and copied in the big box the text of the file slimbox_install.sql and i get this error:

i aldo tried the code for version 1.5 of a message here up but it doesnt work anyway..

Do i have to do something else or what i do wrong?

Thanks in advance for your help.

6 Feb 2009, 2:09 AM
#1311
markus75 avatar

markus75

New Zenner

Join Date:
Aug 2008
Posts:
46
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I also had this error after pasting the content of the sql file in the big box:

Forbidden
You don't have permission to access /admin/sqlpatch.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.41 Server at footballmaniax.com Port 80

6 Feb 2009, 7:42 AM
#1312
kagen avatar

kagen

New Zenner

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

Re: Zen Lightbox addon [Support Thread]

does anyone know why my light box has two of the same images??
policyclothing.com

thanks

8 Feb 2009, 12:09 AM
#1313
lancer avatar

lancer

New Zenner

Join Date:
Jan 2008
Posts:
9
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I am having trouble with my installed lightbox ... i seem to have everything in my admin ... and I can see it when i hover over CONFIGURATION in my admin panel ... but I'm not sure that the sql install went ok, and I'm wondering if there is something else I need to do to get my lightbox working ... there were no errors.

There seems to be two selections in the configuration menu for zen lightbox as well, the second of which showed up when I installed the sql ... not sure what went wrong ... anyone know what the problem might be?

8 Feb 2009, 7:09 AM
#1314
markus75 avatar

markus75

New Zenner

Join Date:
Aug 2008
Posts:
46
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Same problem here.
I see it in the configuration menu. But it doesnt work.
Please look my post above. :dontgetit

12 Feb 2009, 3:14 PM
#1315
jdnp avatar

jdnp

New Zenner

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

Re: Zen Lightbox addon [Support Thread]

Hi Folks,

Wondering if I can offset Zen Lightbox to display the FIRST additional image, instead of the original image first, then the additional.

Main Product Display shows 'example.jpg'

I want zen lightbox to display in this order:

'example_01.jpg'
'example_02.jpg'
'example.jpg'

Thanks

J

16 Feb 2009, 5:12 AM
#1316
bizzi avatar

bizzi

New Zenner

Join Date:
Sep 2008
Location:
Omaha, NE
Posts:
5
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I need help with slimbox installation. I use 1.3.8 Zen Cart Basic version. I downloaded fual_slimbox_lightbox_v0-1-5. Unpacked the zip file to the zencart root directory. In the slimbox file I renamed
includes/modules/MY-TEMPLATE-FOLDER
includes/templates/MY-TEMPLATE-FOLDER
(just two, right?)
Next, I am supposed to copy the "includes" directory to my Zen Cart root directory.

But I already have includes directory. It has many more files then the new one! By overriding that directory all these other files will be gone! I am confused on this step. WOuld anybody can explaine me, pleaase....:lamo:

17 Feb 2009, 2:10 PM
#1317
fastdc5 avatar

fastdc5

Zen Follower

Join Date:
Jan 2009
Posts:
104
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Doesnt seem to work for me.

ZC 1.3.8

Lightbox 1.5

Renamed the following to match my Template:
includes\languages\english\extra_definitions\YOUR-TEMPLATE-FOLDER
includes\modules\YOUR-TEMPLATE-FOLDER
includes\templates\YOUR-TEMPLATE-FOLDER

Ran SQL command
No error, 4 proesssed message above
LightBox is under my Config / Zen LightBox in ZC

However, when I can on any of my images, it opens in the "normal" ZC popup box.

17 Feb 2009, 3:15 PM
#1318
melr avatar

melr

New Zenner

Join Date:
Feb 2009
Location:
Milton Keynes UK
Posts:
3
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

jdnp:

Hi Folks,

Wondering if I can offset Zen Lightbox to display the FIRST additional image, instead of the original image first, then the additional.

Main Product Display shows 'example.jpg'

I want zen lightbox to display in this order:

'example_01.jpg'
'example_02.jpg'
'example.jpg'

Thanks

J
I too would like to be able to something like this. I want to display a different image in Lightbox to than product image. My searches have not shown me how. Any help would be appreciated.
TIA

17 Feb 2009, 3:19 PM
#1319
melr avatar

melr

New Zenner

Join Date:
Feb 2009
Location:
Milton Keynes UK
Posts:
3
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

lancer:

I am having trouble with my installed lightbox ... i seem to have everything in my admin ... and I can see it when i hover over CONFIGURATION in my admin panel ... but I'm not sure that the sql install went ok, and I'm wondering if there is something else I need to do to get my lightbox working ... there were no errors.

There seems to be two selections in the configuration menu for zen lightbox as well, the second of which showed up when I installed the sql ... not sure what went wrong ... anyone know what the problem might be?
Did you run the sql more than once? If so, and I'm not an expert here, but I think you need to run the uninstall.sql (maybe twice) then install.sql.

17 Feb 2009, 3:44 PM
#1320
melr avatar

melr

New Zenner

Join Date:
Feb 2009
Location:
Milton Keynes UK
Posts:
3
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

rainmist:

I have the same problem. Does some kind man can tell me how to solve it? Thanks.
I found the problem is in the SELECT query. It doesn't use the correct name for the 'configuration_group' and hence does not return the value to @cgi that is needed in the following INSERT INTO query.

What I did (yesterday):
Ran the first 2 statements one at atime using copy & paste in the Tools >> Install SQL Patches screen.
Then open 'configuration_group' table in your database to look for the value in 'configuration_group_id' against the 'Zen Lightbox' configuration_group_title. In my case the value was 34.
Copy the second INSERT INTO query to Notepad or other text editor and replace all '@CGI' with the value from configuration_group_id (in my case 34).
Copy/paste the modified query to Tools >> Install SQL Patches screen and run.

It worked for me so I hope works for you.

NOTE: you may need to run uninstall.sql to start from scratch with the install.sql.