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

Zen Lightbox addon [Support Thread]

Views: 953,040

Results 841 to 860 of 3,722
7 Dec 2007, 6:46 PM
#841
banswidthjunkie avatar

banswidthjunkie

Zen Follower

Join Date:
Nov 2007
Posts:
167
Plugin Contributions:
1

Zen Lightbox addon [Support Thread]

Robbyn7:

Hi Alex,

I resolved my initial problem... I found an additional jscript_lightbox.php in includes/modules/pages/product_info file.

Still having the IE issue though.

Thanks,
TheDiva
Yes, this is a bug in the lightbox code, the close button is a link to the same page. There is an onclick event for this button that overrides this behaviour, but sometimes it doesn't want to work. I've got no idea why that is, it could be that there is some conflicting code that stops the binding from occurring. Anyway, the solution to this is to change the label from being a link, to a div in the javascript. This prevents this from ever happening.

7 Dec 2007, 8:31 PM
#842
hdonald avatar

hdonald

New Zenner

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

Re: Zen Lightbox addon [Support Thread]

dbltoe:

Heather,
Can you be a bit more specific. Are both that you are running with 1.3.8 the latest version of IH2 and lightbox. Also, what order did you install them. We have one site only that is working and we loaded IH first on that one site. Tried it on another with no joy.

I have have IH2 2.0 and Lightbox 1.4 installed on 1.3.8. I installed IH2 first and got that working properly. I then installed Lightbox. Somewhere in this thread there is a zip file that I installed due to Lightbox not working correctly and that seemed to solve all issues and got things working correctly. (additional images zip file)

I wish I could be of better help but I am NOT a programmer in any way shape or form. I spent most of today fooling around trying to get it to work, back and forth between Hoverbox and Lightbox. One issue I ran into was that files conflict so if Hoverbox was ever installed all files need to be deleted as well as sql.

I know the first couple of times I tried to install on my test site I missed files or put them in the wrong places. I think, I don't really remember because I have done so much work on the site today (I'm confusing myself, lol) that I put some of the include files in template_default as well as my custom folder. You could try that to see if it helps.

Heather

7 Dec 2007, 11:34 PM
#843
robbyn7 avatar

robbyn7

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

banswidthjunkie:

Yes, this is a bug in the lightbox code, the close button is a link to the same page. There is an onclick event for this button that overrides this behaviour, but sometimes it doesn't want to work. I've got no idea why that is, it could be that there is some conflicting code that stops the binding from occurring. Anyway, the solution to this is to change the label from being a link, to a div in the javascript. This prevents this from ever happening.

Are you referring to the IE issue? or my first issue?

8 Dec 2007, 12:44 AM
#844
banswidthjunkie avatar

banswidthjunkie

Zen Follower

Join Date:
Nov 2007
Posts:
167
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

Im talking about the first issue, where you click the close button and it redirects you to the home page, it happens in opera as well. I presume the script encounters an error during the close operation and then when it terminates it doesn't send false to the link, so the link activates. That is why it shouldn't be a link.

8 Dec 2007, 2:29 AM
#845
robbyn7 avatar

robbyn7

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

banswidthjunkie:

Im talking about the first issue, where you click the close button and it redirects you to the home page, it happens in opera as well. I presume the script encounters an error during the close operation and then when it terminates it doesn't send false to the link, so the link activates. That is why it shouldn't be a link.

I have that issue resolved. Found I had an additional JScript in the product_info file. Removed it and now I'm all good. Just gotta get a handle on the IE issue.

Thanks

9 Dec 2007, 12:33 AM
#846
hdonald avatar

hdonald

New Zenner

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

Re: Zen Lightbox addon [Support Thread]

hdonald:

I have have IH2 2.0 and Lightbox 1.4 installed on 1.3.8. I installed IH2 first and got that working properly. I then installed Lightbox. Somewhere in this thread there is a zip file that I installed due to Lightbox not working correctly and that seemed to solve all issues and got things working correctly. (additional images zip file)

I wish I could be of better help but I am NOT a programmer in any way shape or form. I spent most of today fooling around trying to get it to work, back and forth between Hoverbox and Lightbox. One issue I ran into was that files conflict so if Hoverbox was ever installed all files need to be deleted as well as sql.

I know the first couple of times I tried to install on my test site I missed files or put them in the wrong places. I think, I don't really remember because I have done so much work on the site today (I'm confusing myself, lol) that I put some of the include files in template_default as well as my custom folder. You could try that to see if it helps.

Heather

Ok, I had to install this on a fresh install, couldn't get it to work properly and then decided to compare files from the old install that worked and the new one. The new now works. I don't know why I added files, but I know it works so here is my file structure that doesn't match the install instructions.

includes/modules/additional_images.php (zip file found in this thread)
includes/modules/classic/additional_images.php (zip file)
includes/modules/YOUR_TEMPLATE/additional_images.php (zip file)

includes/templates/template_default/css/stylesheet_lightbox.css
includes/YOUR_TEMPLATE/css/stylesheet_lightbox.php
includes/YOUR_TEMPLATE/jscript/ (all files) (will make the IH hover work)
includes/YOUR_TEMPLATE/templates/tpl_modules_main_product_image.php

These are in addition to what was in the install directions. I don't know what did the trick, I don't really want to fool around to find out, lol, my eyes are crossing. Alex, I hope that helps you. I love this mod! It really sets my site apart from the others.

Now back to my other problem.......

Heather

10 Dec 2007, 8:56 PM
#847
robbyn7 avatar

robbyn7

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

I have a flash header that uses jscript and now I'm wondering if there is a conflict between it and Lightbox.
Am I the only one who is having or who has had an issue with Internet Explorer and Lightbox?

Any help Please!

TheDiva

11 Dec 2007, 4:52 AM
#848
kim avatar

kim

Obaa-san

Join Date:
Jun 2003
Posts:
26,594
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I have a flash header that uses jscript and now I'm wondering if there is a conflict between it and Lightbox.

That is a distinct possibility- have you tried disabling the flash's js to test?

11 Dec 2007, 5:15 AM
#849
robbyn7 avatar

robbyn7

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

Hi Kim,

If I remove the SWFObject file from the Jscript folder I no longer receive the error message in Explorer. But then I no longer have my header flash, just text.
I've also tried modifying the tpl_header.php file but that didn't help.

Thanks,

TheDiva

18 Dec 2007, 3:18 PM
#850
marcelo63 avatar

marcelo63

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

Hi everybody,
This contribution is AWESOME!

The ONLY problem I have. (see if someone can help me)
And this is a particular error that comes up because of the item title

Example:
Item Name

PHOEBE, 2.5" Heel Satin Marabou Slippers

shows under the pop up picture cut off to

Add to Cart:

**PHOEBE, 2.5 **

VERY clear that the [ " ] is causing the problem, which I can not figure out where to fix it

The symbol " in my particular stands for inches, where now is kinda pain in the :censored: to change that in more than 300 items :cry:

ANY help would be really appreciated

Sincerely
Marcelo

18 Dec 2007, 3:36 PM
#851
alex_clarke avatar

alex_clarke

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

marcelo63:

Hi everybody,
This contribution is AWESOME!

The ONLY problem I have. (see if someone can help me)
And this is a particular error that comes up because of the item title

Example:
Item Name

PHOEBE, 2.5" Heel Satin Marabou Slippers

shows under the pop up picture cut off to

Add to Cart:

**PHOEBE, 2.5 **

VERY clear that the [ " ] is causing the problem, which I can not figure out where to fix it

The symbol " in my particular stands for inches, where now is kinda pain in the :censored: to change that in more than 300 items :cry:

ANY help would be really appreciated

Sincerely
Marcelo

Are you using the latest version (1.4) of Zen Lightbox?

18 Dec 2007, 3:54 PM
#852
marcelo63 avatar

marcelo63

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

Thank you Alex for your prompt lightning response!
Yes I have dowloaded yesterday. problems with additional images but resolve.
Also running IM2 on cherry zen template
site located at https://www.ysandals.com
Thank you so much

18 Dec 2007, 4:38 PM
#853
countrycharm avatar

countrycharm

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

This is my issue and it may have been covered. I installed zen lightbox but when you go to zen lightbox configuration there is nothing there. It seems to be working ok, Could you please tell me what I did wrong for there not to be any controls there to set.. Thank you

18 Dec 2007, 4:53 PM
#854
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

I did a fresh install on a new site that is not open to the public yet. https://www.worldclasspromos.com/index.php

#1. I installed IH2 and it worked perfectly as expected. #2. I installed Lightbox 1.4 the Lightbox portion works great as expected.

But the small image zoom or pop-up is now broken. Double checked the settings with 3 - 1.3.7 sites that work with older versions of Lightbox (see tagline) and except for the new features all settings are the same.

ZenCart 1.3.8 - Linux PHP 4.3.11 MySQL 5.0.45 GoDaddy Economy Hosting
mods installed in this order:
iC-AcadameV1.2F Template
Simple Google Analytics
Goggle Sitemap
Image Handler2
Lightbox 1.4

18 Dec 2007, 5:16 PM
#855
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

So I read back on older entries and did find some information on additional_images.pho zip but where is it. When I search this thread the only instance of this file name is in the original thread http://www.zen-cart.com/forum/showthread.php?t=45314&page=85 by "hdonald"

Any clue?
JOhn ><>

18 Dec 2007, 5:35 PM
#856
marcelo63 avatar

marcelo63

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

Page 74 message 737 by lankeeyankee
I dolwloaded zip file additional)images.zip that contains the PHP and downloaded into both the custom template and original zen cart template
lankeeyankee, it worked for me.

18 Dec 2007, 5:40 PM
#857
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

marcelo63:

Page 74 message 737 by lankeeyankee
I dolwloaded zip file additional)images.zip that contains the PHP and downloaded into both the custom template and original zen cart template
lankeeyankee, it worked for me.

http://www.zen-cart.com/forum/attachment.php?attachmentid=2760&d=1192712711

Does this file go in "includes/modules/custom_template" folder?

JOhn ><>

18 Dec 2007, 5:53 PM
#858
marcelo63 avatar

marcelo63

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

John
/includes/modules/YOUR CUSTOM TEMPLATE FOLDER/additional_images.php

I personally added in case at

/includes/modules/additional_images.php

May be an extra file but did not hurt my page

But worked for me
could not and do not have the time to rename all the files at this moment 963 pictures is not fun

Hope it works

This file replaces the orignal file form the cotribution and this is the only one I have changed

And I removed first and the installed this one. Did not overwrite it
Sincerely
Marcelo

18 Dec 2007, 7:19 PM
#859
marcelo63 avatar

marcelo63

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

bump FOR MESSAGE 859

18 Dec 2007, 7:20 PM
#860
marcelo63 avatar

marcelo63

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

bump FOR MESSAGE 859

marcelo63:

Thank you Alex for your prompt lightning response!
Yes I have dowloaded yesterday. problems with additional images but resolve.
Also running IM2 on cherry zen template
site located at https://www.ysandals.com
Thank you so much