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

Zen Lightbox addon [Support Thread]

Views: 953,034

Results 921 to 940 of 3,722
21 Feb 2008, 1:25 AM
#921
ironcross avatar

ironcross

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Zen Lightbox addon [Support Thread]

Not sure if this question has been posted else where. I'm a total newbie here.
I have a copy of Zen Cart installed on my local server and am trying out Lightbox. I've installed Lightbox admin and it shows up fine, but I can't get the actual Lightbox to work. When I click on a product image, a pop-up window appears with the the _LRG image.

I have a feeling I'm not installing the files correctly. What I'm doing is copying the files from each folder within the Lightbox folder to it's corresponding folder within my hard drive.

On the installation page is says to rename the following folders to match your template folder name

includes\modules\YOUR-TEMPLATE-FOLDER
includes\templates\YOUR-TEMPLATE-FOLDER

I did that but not sure where to go from there. Can someone walk me through the details of where to put the files to get this thing rolling. I've got Zen Cart 1.3.8 and Image Handler 2 installed, and Lightbox 1.4. Mac platform 10.4.11
I also have the e-start your web store with Zen Cart book.

Anyones help is much appreciated

21 Feb 2008, 4:16 AM
#922
countrycharm avatar

countrycharm

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

ironcross You need to upload the include folder to your server. If you are using a custom template, you need to change the ** includes\templates\YOUR-TEMPLATE-FOLDER to whatever name you are using for your over-ride folder, also the ****includes\modules\YOUR-TEMPLATE-FOLDER needs to be change the same way before you up load it. That should be it.
**

21 Feb 2008, 4:24 AM
#923
countrycharm avatar

countrycharm

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

dbltoe I fix the problem in the data base. I deleted everything that deal with zen light and installed it again. It shows up in configurations now. I see what you are saying about the Image showing the next button. The problem is there is and extra picture at the bottom of the page for some reason. That is why it is showing the next button. I'm not sure how to fix that.

21 Feb 2008, 5:15 AM
#924
brian_flanagan avatar

brian_flanagan

New Zenner

Join Date:
Dec 2007
Posts:
48
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Just tried to install this module, bt it doesn't seem to be working. Pretty sure I have done everything as I should.

I get the following error message when I go into a product...

Fatal error: Call to undefined function zen_lightbox() in ...includes/templates/CUSTOM/templates/tpl_modules_main_product_image.php

Any ideas? I have turned it off for now.

Brian

21 Feb 2008, 9:24 AM
#925
huenerjuwelier avatar

huenerjuwelier

New Zenner

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

Re: Zen Lightbox addon [Support Thread]

Hello,
I wanted my Zen Lightbox installieren.I have installed step by step followed.But unfortunately, as you can see there are errors Who can help me.

SQL-Befehl:

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

21 Feb 2008, 1:15 PM
#926
countrycharm avatar

countrycharm

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

Brian Flanagan I don't know what template you are using but on some of them like the Cherry Zen Template you have to take the **tpl_modules_main_product_image.php **open it in winmerge and open the one with zen lightbox and compare the codes. If it is different you have to merge zen lightbox with your the one you have, not replace it. Hope that will help you.

21 Feb 2008, 1:31 PM
#927
countrycharm avatar

countrycharm

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

huenerjuwelier, you need to copy and paste the SQL code and run it from your admin, tools, install SQL patches. If you tried to upload the whole text file you would get the error message. You need to copy and paste the code, just this part into your SQL in admin..

INSERT INTO configuration_group VALUES (NULL, 'Zen Lightbox', 'Configure Zen Lightbox options', '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);Hope this will help.

21 Feb 2008, 4:38 PM
#928
dni avatar

dni

New Zenner

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

Re: Zen Lightbox addon [Support Thread]

just installed into a fresh (1.3.8a) zen cart (with templates that work fine in 1.3.7) and everything on my page is disappearing after this code:

<div id="imageholder"> <div id="productMainImage" class="centeredContent"> <!-- bof Zen Lightbox v1.4 aclarke 2007-09-15 -->

i tried to reinstall the SQL statement but have just ended up with 2 Zen Lightboxes in my drop down menu

if i turn off Zen Lightbox, all is well.

Anybody seen this before?

P.S. I am also using Image Handler 2

21 Feb 2008, 5:29 PM
#929
countrycharm avatar

countrycharm

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

Try un-installing it from your data base with the code that came with zen lightbox. If you have two copies of zen lightbox showing in admin you will have to go to your data base and manully remove one of them.

SET @t4=0;
SELECT (@t4:=configuration_group_id) as t4
FROM configuration_group
WHERE configuration_group_title= 'Zen Lightbox';
DELETE FROM configuration WHERE configuration_group_id = @t4;
DELETE FROM configuration_group WHERE configuration_group_id = @t4;

21 Feb 2008, 5:54 PM
#930
dni avatar

dni

New Zenner

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

Re: Zen Lightbox addon [Support Thread]

countrycharm:

Try un-installing it from your data base with the code that came with zen lightbox. If you have two copies of zen lightbox showing in admin you will have to go to your data base and manully remove one of them.

SET @t4=0;
SELECT (@t4:=configuration_group_id) as t4
FROM configuration_group
WHERE configuration_group_title= 'Zen Lightbox';
DELETE FROM configuration WHERE configuration_group_id = @t4;
DELETE FROM configuration_group WHERE configuration_group_id = @t4;

do you mean i should run this bit of code to remove it , or i should go into phpmyadmin and remove tables?

many thanks

21 Feb 2008, 6:07 PM
#931
countrycharm avatar

countrycharm

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

You should run the code to remove it. If you still have zen lightbox showing in admin after you run the code you will have to go to your data base and remove the extra copy there. If you do and you need help I will try to help you in doing that. Your sql should have told you that it was already installed before it took the code. I don't understand why it didn't tell you that. Anyway

21 Feb 2008, 6:31 PM
#932
dni avatar

dni

New Zenner

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

Re: Zen Lightbox addon [Support Thread]

countrycharm:

You should run the code to remove it. If you still have zen lightbox showing in admin after you run the code you will have to go to your data base and remove the extra copy there. If you do and you need help I will try to help you in doing that. Your sql should have told you that it was already installed before it took the code. I don't understand why it didn't tell you that. Anyway

many thanks!

i actually had to run it through twice to get rid of both of them.
i will try to re-install and see if that will solve the missing bottom of the page problem.

21 Feb 2008, 6:44 PM
#933
countrycharm avatar

countrycharm

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

Glade to be of help.

21 Feb 2008, 7:01 PM
#934
ironcross avatar

ironcross

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi Countrycharm. Thanks for replying. When you say to upload it to my server, I just need to know which directory. If I upload it to my root directory, nothing happens. If I try to upload it to my website home directory, I'm asked to replace the includes folder already in there.

I'm really not that computer illiterate, honestly. :smile:

my website is www.wildsociety.com

Thanks

21 Feb 2008, 7:36 PM
#935
countrycharm avatar

countrycharm

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

Hi Countrycharm. Thanks for replying. When you say to upload it to my server, I just need to know which directory. If I upload it to my root directory, nothing happens. If I try to upload it to my website home directory, I'm asked to replace the includes folder already in there.

I'm really not that computer illiterate, honestly. :smile:

Yes you need to let it replace the includes folder. There's only one file to over writes and that is the tpl_modules_main_product_image in your includes\templatesyour_custom_folder.

21 Feb 2008, 7:36 PM
#936
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,765
Plugin Contributions:
9

Re: Zen Lightbox addon [Support Thread]

ironcross,

You appear to be using a "store-bought" template. Most of those will work UNTIL you try to add a mod. They don't bother to tell you that they messed with the underlying code so much that virtually any mod is impossible.

21 Feb 2008, 7:46 PM
#937
countrycharm avatar

countrycharm

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

Hi ironcross hope you are well today. I fix my problem in the data base. I still don't know whats causing that extra image. I just deleted the nextlabel image and the prevlabel image in zen lightbox images so they want see the next button anymore. Anyway I thought I would mention it to you.

21 Feb 2008, 8:06 PM
#938
ironcross avatar

ironcross

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Countrycharm, I'm not sure if your last reply was directed towards me, but I'm fine none-the-less. Hope your doing well also.

I let the lightbox includes folder override the includes in my localhost htdocs folder and it over-rode everything. Now I have to reinstall Zen_Cart. That's what I'm afraid of on my live server. I can back it up and go for it, but it makes me a little nervous. As far as whats on my localhost, no big deal. It's not an exact replica of what's on my live server. Simply for testing purposes. I can start from scratch.

Dbltoe, I am using a store bought template and changing it to my tastes. If what you say is true, that would be truely a bummer as I am only using Image Handler and Lightbox so far and there are may mods I'd like to use.

21 Feb 2008, 9:24 PM
#939
countrycharm avatar

countrycharm

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

ironcross that last commit was aimed at dbltoe sorry about that, but I do hope you are well too. Anyway If dbltoe is right about your Template then I don't know what to tell you to do. I know these templates on zen cart the only thing that zen lightbox over-rides is tpl_modules_main_product_image. So if over-riding the includes file messes you up I don't know what to tell you.

21 Feb 2008, 9:43 PM
#940
ironcross avatar

ironcross

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

No worries. It just would be nice to have my additional images do that cool lightbox effect. I'll try Hoverbox or keep toying around till something works.

If anyone else knows how to make Lighbox work with a store bought template, please let me know. If I find a fix to get this thing working, I'll post... till then.

Much regards