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

Zen Lightbox addon [Support Thread]

Views: 953,173

Results 2,461 to 2,480 of 3,722
5 Mar 2011, 3:18 AM
#2461
sjolie avatar

sjolie

New Zenner

Join Date:
Oct 2009
Posts:
53
Plugin Contributions:
0

Zen Lightbox addon [Support Thread]

Hello everyone,

I installed zen lightbox, and works great with everyone on my site BUT....... the scrolling image bar called "popular products".

When I turn zen lightbox on, the images work perfect in the lightbox for the product, but the scrolling bar we put on our site "popular products" essentially breaks.... the space is there, but all the images no longer are there, and the "right arrow" button when clicked on, shoots you to the main index page.

Any ideas? I've been going page by page on this thread, but needless to say, cannot find anything about it breaking other javascripts. I could be blind, and not seeing/searching correctly.

here is our site: Link to our Site / Example of Bar (Zen Lightbox is turned off, therefor the scrolling bar is working as it should. Wanted feedback before messing again with it)

Thank you for any help to this.

5 Mar 2011, 4:41 AM
#2462
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

Sjolie:

Hello everyone,

I installed zen lightbox, and works great with everyone on my site BUT....... the scrolling image bar called "popular products".

When I turn zen lightbox on, the images work perfect in the lightbox for the product, but the scrolling bar we put on our site "popular products" essentially breaks.... the space is there, but all the images no longer are there, and the "right arrow" button when clicked on, shoots you to the main index page.

Any ideas? I've been going page by page on this thread, but needless to say, cannot find anything about it breaking other javascripts. I could be blind, and not seeing/searching correctly.

here is our site: Link to our Site / Example of Bar (Zen Lightbox is turned off, therefor the scrolling bar is working as it should. Wanted feedback before messing again with it)

Thank you for any help to this.

I just looked on my mac with an older OS and the images are showing as well as the buttons working...did you turn off lightbox?

5 Mar 2011, 4:43 AM
#2463
sjolie avatar

sjolie

New Zenner

Join Date:
Oct 2009
Posts:
53
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Yes I did, only because it is a live site with a lot of traffic. I didn't want to hurt sales.

Didn't know if there was any known issues with this type of problem.

5 Mar 2011, 4:45 AM
#2464
sjolie avatar

sjolie

New Zenner

Join Date:
Oct 2009
Posts:
53
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I'll take a screen shot of code and images real quick as broken

5 Mar 2011, 4:51 AM
#2465
sjolie avatar

sjolie

New Zenner

Join Date:
Oct 2009
Posts:
53
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

code didn't say anything different from what it does now.

5 Mar 2011, 5:03 AM
#2466
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

Sjolie:

code didn't say anything different from what it does now.

per chance is this a paid for template? many have their own scripting that does not play well with lightbox.

if that is the case you may need to use jqlightbox from rubikon--I thinnk I posted the link several posts before this one.

now sure

5 Mar 2011, 5:32 AM
#2467
sjolie avatar

sjolie

New Zenner

Join Date:
Oct 2009
Posts:
53
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I'll take a look at the post, thank you for your replies. It looks awesome for the images its on. I plan to do every effort to fix it.

good work.

5 Mar 2011, 6:40 AM
#2468
niestudio avatar

niestudio

Zen Follower

Join Date:
Nov 2009
Posts:
285
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

Sjolie:

I'll take a look at the post, thank you for your replies. It looks awesome for the images its on. I plan to do every effort to fix it.

good work.

Hi Sjolie,
I looked at the code for your site, and it is already loading jQuery which ZLB uses as well so the fact that its getting loaded twice could be your issue.

as a test fix, you could try to open [includes/classes/zen_lightbox/slimbox.php] and comment out the line that loads ZLB's copy of jQuery.
you would need to change the line towards the top
from

echo '<script type ……

to

echo //'<script type ……

note the '//' is what you are adding.

hopefully this will help.

daniel

5 Mar 2011, 8:41 AM
#2469
sjolie avatar

sjolie

New Zenner

Join Date:
Oct 2009
Posts:
53
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Thank you for the reply Daniel,

I did as you suggested, and when I load it up... the entire site doesn't load... except for the background image.

I also tried darkangel's suggestion of the other script without any success.

I would be interested in freelance work for those who are experienced with this addon. We truly want to get it to work properly.

5 Mar 2011, 2:57 PM
#2470
niestudio avatar

niestudio

Zen Follower

Join Date:
Nov 2009
Posts:
285
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

Sjolie:

Thank you for the reply Daniel,

I did as you suggested, and when I load it up... the entire site doesn't load... except for the background image.

I also tried darkangel's suggestion of the other script without any success.

I would be interested in freelance work for those who are experienced with this addon. We truly want to get it to work properly.

my apologies, it was late when I replied,
the // should go before the echo like this

//echo '<script type="text

let me know if that works for you

daniel

5 Mar 2011, 3:16 PM
#2471
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

yes the other lightbox is practically like this one but I -- myself-- prefer daniel's lightbox,

Hope it behaves for you

5 Mar 2011, 3:50 PM
#2472
sjolie avatar

sjolie

New Zenner

Join Date:
Oct 2009
Posts:
53
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

niestudio:

my apologies, it was late when I replied,
the // should go before the echo like this

//echo '<script type="text

> 
> let me know if that works for you
> 
> daniel



AMAZING:)   works like a charm now.   I believe I tried an older script a couple years ago and forgot to remove it.. didn't realize we had two instances running. 


I appreciate you both for taking the time to look at the site and giving me input, I know it isn't always fun troubleshooting someone else's problems. 

Much appreciation!
5 Mar 2011, 3:59 PM
#2473
niestudio avatar

niestudio

Zen Follower

Join Date:
Nov 2009
Posts:
285
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

Sjolie:

AMAZING:) works like a charm now. I believe I tried an older script a couple years ago and forgot to remove it.. didn't realize we had two instances running.

I appreciate you both for taking the time to look at the site and giving me input, I know it isn't always fun troubleshooting someone else's problems.

Much appreciation!

no problem, glad it worked.
Note, its not an old version of the plugin that was loading, its part of your theme; it uses jQuery as well so thats why it was loading already.

from your theme:

<script type="text/javascript" src="includes/templates/theme438/jscript/jscript_jquery-ui.min.js"></script>

ZLB was simply loading it again since it doesnt know to check for the existence of a previously loaded jQuery (hmm, maybe I should look into that for ZLB 1.6.3)

Daniel

5 Mar 2011, 4:10 PM
#2474
sjolie avatar

sjolie

New Zenner

Join Date:
Oct 2009
Posts:
53
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

That makes sense.

I remember trying to install "slim lightbox" addon atleast a year or so ago... I believe that was the addon name. Figured that might of been the extra existence of the script.

Thanks for the input!

7 Mar 2011, 10:36 PM
#2475
ducati87 avatar

ducati87

New Zenner

Join Date:
Dec 2010
Posts:
28
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

hi guys, I have a small problem with zen light box.
When I try to insert a new product the process goes in loop, and in mydebug files there's this error string:

[06-Mar-2011 22:04:03] PHP Warning: preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Compilation failed: missing ) at offset 48 in /home/passio23/public_html/includes/modules/classic/additional_images.php on line 47

thx for help!

7 Mar 2011, 11:40 PM
#2476
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

Ducati87:

hi guys, I have a small problem with zen light box.
When I try to insert a new product the process goes in loop, and in mydebug files there's this error string:

[06-Mar-2011 22:04:03] PHP Warning: preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Compilation failed: missing ) at offset 48 in /home/passio23/public_html/includes/modules/classic/additional_images.php on line 47



what version of zen cart are you using and what version of lightbox

if current version did you remove the prior one before updating?
7 Mar 2011, 11:48 PM
#2477
niestudio avatar

niestudio

Zen Follower

Join Date:
Nov 2009
Posts:
285
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

Ducati87:

hi guys, I have a small problem with zen light box.
When I try to insert a new product the process goes in loop, and in mydebug files there's this error string:

[06-Mar-2011 22:04:03] PHP Warning: preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Compilation failed: missing ) at offset 48 in /home/passio23/public_html/includes/modules/classic/additional_images.php on line 47

> 
> thx for help!

Did you see this forum post about the same issue?
This user found an image that had a ( in the file name. Could this be the case for you too?

[http://www.zen-cart.com/forum/showthread.php?t=170767&highlight=Compilation+failed](http://www.zen-cart.com/forum/showthread.php?t=170767&highlight=Compilation+failed)

Daniel
8 Mar 2011, 2:37 PM
#2478
skipjensen avatar

skipjensen

New Zenner

Join Date:
Jun 2010
Location:
Tacoma, Washington
Posts:
27
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I need to add the lightbox effect to the category Icon above the product listing. This is a wholesale site, and all user ordering will be done from the product listings. I don't want them to have to go back to the category listing to see the large image.Attachment #8968. I am not sure how to go about this.

Thanks- SJ

8 Mar 2011, 4:02 PM
#2479
niestudio avatar

niestudio

Zen Follower

Join Date:
Nov 2009
Posts:
285
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

skipjensen:

I need to add the lightbox effect to the category Icon above the product listing. This is a wholesale site, and all user ordering will be done from the product listings. I don't want them to have to go back to the category listing to see the large image.Attachment #8968. I am not sure how to go about this.

Thanks- SJ

I'm not sure thats going to be possible without some custom hacks.
The ZLB works but replacing the default popup images with lightbox functionality, but the category images are not clickable by default.

you might be better off just editing Admin > Images > Category Icon Image Width (& Height) - Product Info Pages to make your images larger to start with.

daniel

9 Mar 2011, 2:23 AM
#2480
skipjensen avatar

skipjensen

New Zenner

Join Date:
Jun 2010
Location:
Tacoma, Washington
Posts:
27
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Thanks for you reply, daniel. I kind of had that feeling. I tend to want things that don't exactly fit the mold. I'll keep hacking away at it (pun intended) and see where it takes me.

SJ