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

Zen Lightbox addon [Support Thread]

Views: 952,704

Results 1,541 to 1,560 of 3,722
29 Oct 2009, 9:01 AM
#1541
darkangel avatar

darkangel

Totally Zenned

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

Zen Lightbox addon [Support Thread]

out of curiosity I just checked mine in IE to see if it is off center and it is centered like it should be.

I am using version 1.5 of lightbox and mostlygrey template.

maybe it is something in your template that is messing with the code for the lightbox, keeping it from working right

I wanted my thumbnails to be centered on the page in the previous template so I did this:

removed the "back" from

<div id="productMainImage" class="centeredContent back">

in tpl_modules_main_product_image.php

located in

/includes/templates/your-template/templates/tpl_modules_main_product_image.php

not sure if that will work for you but with the mostlygrey template they were already centered so I did not have to go edit that file.

29 Oct 2009, 7:10 PM
#1542
asdesign avatar

asdesign

Zen Follower

Join Date:
Jun 2009
Location:
Israel
Posts:
152
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

back is just an extra class name and my css doesn't have anything applied to it so it shouldn't matter I think. I'll try tho. Can you check if your zen_lightbox.css file is exactly like mine posted above? Thanks for helping.

Btw, if you wanted them centered you didn't have to remove BACK from the template. All you had to do is find it in your CSS files and clear out the parameters attached to it.

29 Oct 2009, 7:19 PM
#1543
asdesign avatar

asdesign

Zen Follower

Join Date:
Jun 2009
Location:
Israel
Posts:
152
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Ok, trying to change that didn't help..I ain't surprised hehe. Anyway, post up your CSS. The answer is probably there.

30 Oct 2009, 2:24 AM
#1544
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

my lightbox css is exactly the same with the exception of the font size.

/**
 * 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: stylesheet_zen_lightbox.css 2008-12-08 aclarke $
 */

#lbBottom
{
border:10px solid #fff;
border-top-style:none;
color:#666;
font-family:Verdana, Arial, Geneva, Helvetica, sans-serif;
font-size:10pt;
line-height:1.4em;
text-align:left;
}

#lbCaption
{
font-weight:700;
}

#lbCaption,#lbNumber
{
margin-right:71px;
}

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

#lbCloseLink
{
display:block;
float:right;
height:22px;
margin:5px 0;
outline:none;
width:66px;
}

#lbImage
{
background-repeat:no-repeat;
border:10px solid #fff;
cursor:default;
left:0;
position:absolute;
top:0;
}

#lbNextLink
{
right:0;
}

#lbOverlay
{
background-color:#000;
height:100%;
left:0;
position:fixed;
top:0;
width:100%;
z-index:9999;
}

#lbPrevLink
{
left:0
}

#lbPrevLink,#lbNextLink
{
display:block;
height:32px!important;
outline:none;
position:absolute;
top:0;
width:63px;
}

.lbLoading
{
background:#fff url(../images/zen_lightbox/loading.gif) no-repeat center
}
30 Oct 2009, 6:52 AM
#1545
asdesign avatar

asdesign

Zen Follower

Join Date:
Jun 2009
Location:
Israel
Posts:
152
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Can you link me up to your site so I can check it out myself?...

30 Oct 2009, 2:46 PM
#1546
manage_it avatar

manage_it

Inactive

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

Re: Zen Lightbox addon [Support Thread]

Lightbox 1.5 installed on v1.38a with Image handler 2.0
Lightbox is not working in internet explorer.
Firefox works fine.

Please help

30 Oct 2009, 7:08 PM
#1547
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

http://fantasiesrealm.com/market/

lightbox 1.5 running on zencart 1.38a, I am not using image handler but the G2 I think is what it is called

31 Oct 2009, 4:02 PM
#1548
kobra8 avatar

kobra8

Zen Follower

Join Date:
Mar 2009
Location:
Serbia
Posts:
350
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi, I install the contributions Zen Lightbox v1.5 on ZC 1.3.8.
When I install.sql file (Admin > Tools > Install SQL Patches) in your Zen Cart admin end clik SEND, I get mesage:

1146 Table 'C251393_zencart.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.

??????? :blush:

31 Oct 2009, 4:07 PM
#1549
kobra8 avatar

kobra8

Zen Follower

Join Date:
Mar 2009
Location:
Serbia
Posts:
350
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

More:
I get mesage:
1146 Table 'C251393_zencart.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.
.................
Clik BECK.
now I have in:
Admin > Configuration > Zen Lightbox (triplet Zen Lightbox )!

Zen Lightbox
Zen Lightbox
Zen Lightbox

I have: Image Handler2
!!!!!!!! help !!!!!!!!!!! :blink:

31 Oct 2009, 7:12 PM
#1550
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

what you need to do first is run the uninstall sql to get rid of the tables in your database that it created...they are no good check admin to make sure the duplicates are gone and repeat for each one that remains til they are all gone.

then go to your database and make certain you have written the prefix to your tables correctly...

some start with:
zencart_
zen_
shoppe_
store_
zc_

see what is the first part of the table and that is what you need to write in front of the first few places in the sql before you try to install it.

make certain you have your files in the right spots too

1 Nov 2009, 3:32 PM
#1551
kobra8 avatar

kobra8

Zen Follower

Join Date:
Mar 2009
Location:
Serbia
Posts:
350
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

DarkAngel:

what you need to do first is run the uninstall sql to get rid of the tables in your database that it created...they are no good check admin to make sure the duplicates are gone and repeat for each one that remains til they are all gone.

then go to your database and make certain you have written the prefix to your tables correctly...

some start with:
zencart_
zen_
shoppe_
store_
zc_

see what is the first part of the table and that is what you need to write in front of the first few places in the sql before you try to install it.

make certain you have your files in the right spots too

Hi, I lnstall meny contributions/addons end I install.SQL with not problem!
Now when I wont to install thet SQL it don't work.
In SQL my Table is: zen_configuration_group
when I change in file from configuration_group in zen_configuration_group still don't work!

Note: when I install 'instal.SQL' from contributions in Admin end clik SEND getting mesage:

1146 Table 'C251393_zencart.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 clik BACK in brouser, in admin panel go in configuration end I see Zen Lightbox, I clik on.
End when I go in Zen Lightbox only see:
Title Value Action
end noting else!

What is wrong :frusty:

1 Nov 2009, 10:11 PM
#1552
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

this is the only part of the SQL that you need to change---the red words only:

The key things, are:

INSERT INTO zen_configuration_group
UPDATE zen_configuration_group
FROM zen_configuration_group

The things in red MUST match the wording in your database.

** You dont want to rename:**

SELECT @cgi := configuration_group_id

to:

SELECT @cgi := zen_configuration_group_id

Is that the only places you added the prefix to...I do understand your frustration, I too have installed many mods but this one is picky to the max...lol

I had just as much trouble when I did mine too and I had to install the SQL through my database asmin panel NOT the store admin

2 Nov 2009, 9:27 AM
#1553
kobra8 avatar

kobra8

Zen Follower

Join Date:
Mar 2009
Location:
Serbia
Posts:
350
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

DarkAngel:

this is the only part of the SQL that you need to change---the red words only:

The key things, are:

INSERT INTO zen_configuration_group
UPDATE zen_configuration_group
FROM zen_configuration_group

The things in red MUST match the wording in your database.

** You dont want to rename:**

SELECT @cgi := configuration_group_id

to:

SELECT @cgi := zen_configuration_group_id

Is that the only places you added the prefix to...I do understand your frustration, I too have installed many mods but this one is picky to the max...lol

I had just as much trouble when I did mine too and I had to install the SQL through my database asmin panel NOT the store admin

I do thet you write end nothing, geting mesage:

1054 Unknown column 'zen_configuration_group_id' in 'field list'
in:
[INSERT INTO zen_configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, zen_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

.............................

Can you please tell my hay did you install the SQL through your's database asmin panel NOT the store admin.

2 Nov 2009, 7:42 PM
#1554
cdnbride avatar

cdnbride

Zen Follower

Join Date:
Sep 2009
Location:
Toronto, Canada
Posts:
149
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

DarkAngel:

this is the only part of the SQL that you need to change---the red words only:

The key things, are:

INSERT INTO zen_configuration_group
UPDATE zen_configuration_group
FROM zen_configuration_group

The things in red MUST match the wording in your database.

** You dont want to rename:**

SELECT @cgi := configuration_group_id

to:

SELECT @cgi := zen_configuration_group_id

Is that the only places you added the prefix to...I do understand your frustration, I too have installed many mods but this one is picky to the max...lol

I had just as much trouble when I did mine too and I had to install the SQL through my database asmin panel NOT the store admin

Okay hello I am new at this and installed my first mod yesterday with success and to my surprise so I too would love to get my 2nd mod installed without too much confusion.
I have two questions with respect to lightbox ... first, because I'm still learning I followed the install directions very literally which maybe I shouldn't have. Was I supposed to copy the "includes" folder the whole folder to my includes folder or was I supposed to open it and copy over each folder in their prospective folders in my store?? Either way I've done it both ways, I'm just curious as to which is the right way.
Second, I am not sure how to find out what the correct wording is in my database, the one that is being refered to in the last post in red. Is there some where specific that I can look at and know for sure what I should be putting in there? I've tried a few combinations but none have worked. My SQL database is named cdnbridal_zc1, would that be what I put in there?

I would love to get some feedback and hopefully get this working before tomorrow

Cheers!
Cdnbride

2 Nov 2009, 10:49 PM
#1555
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

@kobra8:

in each of the stores I manage the servers have a c-panel which then gives us access to MyPHPAdmin..which will let us get to the databases.

I tried many times to install it through the admin section of my stores but could not, this was the only way I could install it.

@cdnbride:

Okay hello I am new at this and installed my first mod yesterday with success and to my surprise so I too would love to get my 2nd mod installed without too much confusion.
I have two questions with respect to lightbox ... first, because I'm still learning I followed the install directions very literally which maybe I shouldn't have. Was I supposed to copy the "includes" folder the whole folder to my includes folder or was I supposed to open it and copy over each folder in their prospective folders in my store?? Either way I've done it both ways, I'm just curious as to which is the right way.
Second, I am not sure how to find out what the correct wording is in my database, the one that is being refered to in the last post in red. Is there some where specific that I can look at and know for sure what I should be putting in there? I've tried a few combinations but none have worked. My SQL database is named cdnbridal_zc1, would that be what I put in there?I find that many mod creators do that mistake...they take it for granted that someone has done this type of installation before. so the answer is NO.

  1. you open your zip up on your desktop then go to your server.
  2. compare the folders in the zip to what is on the server
  3. drag the files from your zip to the folder on your server, with the same name (includes items go into the includes folder of server)

any folder that says either "custom" or "Your_template_folder" must go into a fodler named same as your template (mostlygrey for instance)

Not everyone knows how to install things and I am totally grateful for the ones that do the actual coding and creating so I have something to customize my stores with (I help maintain or manage about 6 of them) and that is why I intrude in the forums with any help to other newbies that I can aide with...either by pm to go install it for them or assistance in here.

This store software is really pretty easy once you get the hang of it and the customer suppport here is tremendous, there is a certain gallery software that when you ask a question they tell you to go learn the software or hire someone to help you....that is not the way to handle things either in RL or the virtual world...lol My pet peeve, sorry.

As for the "wording in red" you need to actually look at your database to see what the prefix is...some that installed it gave it a prefix others have left it without one.

2 Nov 2009, 11:13 PM
#1556
kobra8 avatar

kobra8

Zen Follower

Join Date:
Mar 2009
Location:
Serbia
Posts:
350
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

DarkAngel I do thet you write end nothing, geting mesage:
I do:

  1. you open your zip up on your desktop then go to your server.
  2. compare the folders in the zip to what is on the server
  3. drag the files from your zip to the folder on your server, with the same name (includes items go into the includes folder of server)

any folder that says either "custom" or "Your_template_folder" must go into a fodler named same as my template:

..............................
1054 Unknown column 'zen_configuration_group_id' in 'field list'
in:
[INSERT INTO zen_configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, zen_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

.............................

Agein, can you please tell my hay did you install the SQL through your's database asmin panel NOT the store admin. :blush:

3 Nov 2009, 12:39 AM
#1557
cdnbride avatar

cdnbride

Zen Follower

Join Date:
Sep 2009
Location:
Toronto, Canada
Posts:
149
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

DarkAngel:

@kobra8:

in each of the stores I manage the servers have a c-panel which then gives us access to MyPHPAdmin..which will let us get to the databases.

I tried many times to install it through the admin section of my stores but could not, this was the only way I could install it.

@cdnbride:
I find that many mod creators do that mistake...they take it for granted that someone has done this type of installation before. so the answer is NO.

  1. you open your zip up on your desktop then go to your server.
  2. compare the folders in the zip to what is on the server
  3. drag the files from your zip to the folder on your server, with the same name (includes items go into the includes folder of server)

any folder that says either "custom" or "Your_template_folder" must go into a fodler named same as your template (mostlygrey for instance)

Not everyone knows how to install things and I am totally grateful for the ones that do the actual coding and creating so I have something to customize my stores with (I help maintain or manage about 6 of them) and that is why I intrude in the forums with any help to other newbies that I can aide with...either by pm to go install it for them or assistance in here.

This store software is really pretty easy once you get the hang of it and the customer suppport here is tremendous, there is a certain gallery software that when you ask a question they tell you to go learn the software or hire someone to help you....that is not the way to handle things either in RL or the virtual world...lol My pet peeve, sorry.

As for the "wording in red" you need to actually look at your database to see what the prefix is...some that installed it gave it a prefix others have left it without one.

Hi Dark Angel

Thanks for your post, i have been trying everything and its a no-go for me... the only thing that I noticed is that in your details you've got the three spots to change the text (in red) but when I copy my SQL over there is only INSERT INTO, SELECT and INSERT INTO again, there is no FROM does that make a difference? I'm guessing that it doesn't since others have been able to install it successfully so I am giving up at least for tonight otherwise I may put my foot through the screen and toss the keyboard out the window! lol

Thanks for your help

Cdnbride

3 Nov 2009, 1:08 AM
#1558
cdnbride avatar

cdnbride

Zen Follower

Join Date:
Sep 2009
Location:
Toronto, Canada
Posts:
149
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Well I found the FROM so I guess thats not the problem,,,,, hmmmm, I'll keep trying..... :wacko:

3 Nov 2009, 10:41 AM
#1559
high2k avatar

high2k

Zen Follower

Join Date:
May 2006
Location:
Scotland
Posts:
198
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I can't seem to get the close button to view in FF. I've tried adding a colour to the close link in the style sheet but that's not made any difference. I see that other people have had the same problem. Does anyone have a fix for this?
Just realised that I have the same problem in IE8

3 Nov 2009, 10:51 AM
#1560
high2k avatar

high2k

Zen Follower

Join Date:
May 2006
Location:
Scotland
Posts:
198
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Is OK. I got this to work by copying the lightbox images folder to template_default