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

Zen Lightbox addon [Support Thread]

Views: 952,693

Results 3,261 to 3,280 of 3,722
10 Aug 2012, 7:38 PM
#3261
sharemmoments avatar

sharemmoments

New Zenner

Join Date:
Jan 2012
Posts:
14
Plugin Contributions:
0

Zen Lightbox addon [Support Thread]

I removed the z-index and it didn't appear to fix it. Do I need to make a change somewhere other than just the CSS file?

10 Aug 2012, 8:46 PM
#3262
niestudio avatar

niestudio

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

Sharemmoments:

I removed the z-index and it didn't appear to fix it. Do I need to make a change somewhere other than just the CSS file?

I looked at your css, and I still see the property in there, now in 2 files. stylesheet.css and stylesheetNOW.css
I'd would need to be removed from both.

10 Aug 2012, 10:48 PM
#3263
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Zen Lightbox addon [Support Thread]

niestudio:

I looked at your css, and I still see the property in there, now in 2 files. stylesheet.css and stylesheetNOW.css
I'd would need to be removed from both.

and I need to add it's a BAD idea to keep backups of any file alongside the new files as they will BOTH be loaded.. if you want to keep a backup of your stylesheet, then keep it on your local machine NOT on your live site.. Zen Cart will load BOTH..

11 Aug 2012, 4:53 AM
#3264
alepia avatar

alepia

Zen Follower

Join Date:
Dec 2008
Posts:
158
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I've just installed this contribution on my website, however I'm getting this code:```
jQuery(function($) { $("a[rel^='lightbox']").slimbox({}, function(el) { return [el.href, el.title /* + '
Download this image'*/]; }, function(el) { return (this == el) || ((this.rel.length > 8) && (this.rel == el.rel)); }); }); //-->


[http://alepia.ch/index.php?main\_page=product\_info&cPath=24&products\_id=57](http://alepia.ch/index.php?main_page=product_info&cPath=24&products_id=57)


Moreover I have the issue that the 'search field' overlaps lightbox:blink: how can I solve this?
11 Aug 2012, 6:42 AM
#3265
scott_ease avatar

scott_ease

New Zenner

Join Date:
Jun 2012
Posts:
68
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

Can someone make the lightbox movable/draggable?
That will be awesome.

12 Aug 2012, 12:34 AM
#3266
niestudio avatar

niestudio

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

alepia:

I've just installed this contribution on my website, however I'm getting this code:```
jQuery(function($) { $("a[rel^='lightbox']").slimbox({}, function(el) { return [el.href, el.title /* + '
Download this image'*/]; }, function(el) { return (this == el) || ((this.rel.length > 8) && (this.rel == el.rel)); }); }); //-->

> 
> <http://alepia.ch/index.php?main_page=product_info&cPath=24&products_id=57>
> 
> 
> Moreover I have the issue that the 'search field' overlaps lightbox:blink: how can I solve this?

Not sure where the extra jquery came from that ended up in your body. Can you check the installation files and make sure they are in the right places.
I did notice that you also have a version of colorbox installed on your site. You should really try to remove that if you are going to stick with ZLB. The installation of both may be causing your issues.

for your search bar issue, you need to remove the z-index from this line in your css file

#navMainSearch {float:right;position:relative;top:-20px;right:10px;z-index:15000;}

20 Aug 2012, 6:53 AM
#3267
water5 avatar

water5

New Zenner

Join Date:
Jul 2012
Posts:
5
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

DarkAngel:

Did you manually reupload all the files? Sometimes the internet is mean and corrupts them the first time.

Did you remember to install the SQL? After many times of doing installations i tend to forget that at times too/still.

So go back to the server files, reupload the files to the folders manually again then go to the admin section and see if it shows up under the first tab, near the bottom of the list.

Yes I have checked the install instructions and checked all the files are in the correct locations. I can see the Zen Lightbox Setting under the zencart admin OK and it is enabled.

20 Aug 2012, 9:39 AM
#3268
water5 avatar

water5

New Zenner

Join Date:
Jul 2012
Posts:
5
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

water5:

Yes I have checked the install instructions and checked all the files are in the correct locations. I can see the Zen Lightbox Setting under the zencart admin OK and it is enabled.

Here is some of the source off a page: <div id="productMainImage" class="centeredContent back">

<script language="javascript" type="text/javascript"><!-- document.write('<a href="bmz_cache/f/f1def05244422d506e9f9055d55e2bd4.image.650x350.jpg" rel="lightbox-g" title="Crownline 18SS Bowrider"><img src="bmz_cache/4/4fb507c627dc8e7175aeeb6923f5ba3a.image.150x80.jpg" alt="Crownline 18SS Bowrider" title=" Crownline 18SS Bowrider " width="150" height="80" /><br /><span class="imgLink">larger image</span></a>'); //--></script> <noscript> <a href="http://nitromarine.com.au/cart/index.php?main_page=popup_image&pID=267" target="_blank"><img src="bmz_cache/4/4fb507c627dc8e7175aeeb6923f5ba3a.image.150x80.jpg" alt="Crownline 18SS Bowrider" title=" Crownline 18SS Bowrider " width="150" height="80" /><br /><span class="imgLink">larger image</span></a></noscript> </div><!--eof Main Product Image-->

http://nitromarine.com.au/cart/index.php?main_page=product_info&cPath=24&products_id=267

20 Aug 2012, 3:38 PM
#3269
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Zen Lightbox addon [Support Thread]

water5:

Here is some of the source off a page: <div id="productMainImage" class="centeredContent back">

<script language="javascript" type="text/javascript"><!-- document.write('<a href="bmz_cache/f/f1def05244422d506e9f9055d55e2bd4.image.650x350.jpg" rel="lightbox-g" title="Crownline 18SS Bowrider"><img src="bmz_cache/4/4fb507c627dc8e7175aeeb6923f5ba3a.image.150x80.jpg" alt="Crownline 18SS Bowrider" title=" Crownline 18SS Bowrider " width="150" height="80" /><br /><span class="imgLink">larger image</span></a>'); //--></script> <noscript> <a href="http://nitromarine.com.au/cart/index.php?main_page=popup_image&pID=267" target="_blank"><img src="bmz_cache/4/4fb507c627dc8e7175aeeb6923f5ba3a.image.150x80.jpg" alt="Crownline 18SS Bowrider" title=" Crownline 18SS Bowrider " width="150" height="80" /><br /><span class="imgLink">larger image</span></a></noscript> </div><!--eof Main Product Image-->

http://nitromarine.com.au/cart/index.php?main_page=product_info&cPath=24&products_id=267

water5:

Yes I have checked the install instructions and checked all the files are in the correct locations. I can see the Zen Lightbox Setting under the zencart admin OK and it is enabled.

But you REALLY do not have all the files in place to make the ZLB add-on work.. When viewing the page source for your site the CSS and JS files one would expect to see if ZLB was installed correctly are TRULY not in place:

<head> <title>Nitro Marine</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="keywords" content="Crownline 18SS Bowrider [18SS] Telwater Genuine Marine Electronics Used Boats New FY2013 Sale Mercury Inflatables Used Engines Apparel & Accessories Nitro Boats New Mercury Engines Motorguide Engines Latest News Special of the Month Crownline Boats Triton Boats Stacer Boats Pioneer Boats Genuine Oils TEMP Chandlery Clearance Bin Engine Parts & Accessories CSB Huntsman Boats Service Finance Nitro Marine, Mercury Outboards, MerCruiser Sterndrives, MerCruiser Inboards, Mercury Racing, Mercury Diesel, MotorGuide, Electric Motors, Mercury Inflatables, Crownline Boats, Stacer Boats, Triton Boats, CSB Huntsman Boats, Pioneer Boats, Lowrance Marine, Simrad Marine, Fusion Marine, BLA Chandlery, Surf Wind Fire Marine Sports Equipment, Club Marine Insurance, Certified Workshop, Mercury Service, Mercury Outboard Service, MerCruiser Service" /> <meta name="description" content="Nitro Marine Crownline 18SS Bowrider [18SS] - Agile fun in a compact package (Boat, Motor, Trailer package). Opens up a whole new world of rest and relaxation, with just enough excitement thrown in for good measure. There's no better way to jump into the boating waters than on a Crownline 18SS. This boat has all the big boat " /> <meta http-equiv="imagetoolbar" content="no" /> <base href="http://nitromarine.com.au/cart/" />

**

<link href="http://www.nitromarine.com.au/default.css" rel="stylesheet" type="text/css"> <!--[if IE]> <link href="http://www.nitromarine.com.au/defaultie.css" rel="stylesheet" type="text/css"> <![endif]--> <script type="text/javascript" src="http://www.nitromarine.com.au/mootools.js"></script>**

Looking at your page source it looks like ALL of the Zen Cart functions to auto load the CSS and JS has been STRIPPED from your template.. You have a CSS file and JS file loaded in the head section of your site, but they are not part of any NORMAL Zen Cart template structure. (no template folder -- both the CSS and JS are called from the Zen Cart root -- this is NOT normal for the Zen Cart template structure)

Whoever built your template did so by BREAKING the normal Zen Cart template structure.. It looks like your template maker STRIPPED all the default code from the include/templates/YOUR_TEMPLATE/common/html_header.php. THIS would be a HUGE reason why ZLB is not working for you..

24 Aug 2012, 8:27 AM
#3270
kezan98 avatar

kezan98

Zen Follower

Join Date:
Nov 2007
Location:
UK
Posts:
98
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi all

I've noticed that my additional images not longer to link to the images themselves but to the home page using #

is there a way to fix this, I've done a search through the thread and I can see someone else had the problem but couldn't find the answer to it.

cheers

Kerrie G

1 Sep 2012, 11:09 PM
#3271
teob avatar

teob

New Zenner

Join Date:
May 2010
Posts:
13
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi,

i know that's probably not an thread related question but i could use some help over here. I am not able to install lightbox v1.5 on my zencart 1.3.8.a

Attachment 11059

after uploading the files as described at readme i'm installing the sql file both by copying the text and uploading the "install.sql", but i'm getting the above errors and as a result my installation isn't successful.
Any ideas what should i look for?
Thanks in advance!
:smile:

2 Sep 2012, 12:22 PM
#3272
teob avatar

teob

New Zenner

Join Date:
May 2010
Posts:
13
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

teoB:

Hi,

i know that's probably not an thread related question but i could use some help over here. I am not able to install lightbox v1.5 on my zencart 1.3.8.a

Attachment 11059

after uploading the files as described at readme i'm installing the sql file both by copying the text and uploading the "install.sql", but i'm getting the above errors and as a result my installation isn't successful.
Any ideas what should i look for?
Thanks in advance!
:smile:

actually i managed to install the sql through phpMyadmin, i can see the zen light box at "admin->configuration" but it is empty i can only see the following listing
Attachment 11061
and off course the lightbox doesn't work on site. i don't know what else to do...
There's a file at the rar that isn't mentioning at the readme named "jscript_zen_lightbox.php" and it's in the root directory. should i put it somewhere?

20 Sep 2012, 6:58 PM
#3273
teob avatar

teob

New Zenner

Join Date:
May 2010
Posts:
13
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi,
I finally installed latest version and it works just fine! But I'm having the following error. When I'm changing the language at the admin page I get the following error:
"Fatal error: Call to a member function get_template_dir() on a non-object in /home/demo/public_html/eshop/includes/classes/zen_lightbox/slimbox.php on line 12"
Anyone???

21 Sep 2012, 12:58 AM
#3274
niestudio avatar

niestudio

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

teoB:

Hi,
I finally installed latest version and it works just fine! But I'm having the following error. When I'm changing the language at the admin page I get the following error:
"Fatal error: Call to a member function get_template_dir() on a non-object in /home/demo/public_html/eshop/includes/classes/zen_lightbox/slimbox.php on line 12"
Anyone???
please post a url

21 Sep 2012, 12:46 PM
#3275
teob avatar

teob

New Zenner

Join Date:
May 2010
Posts:
13
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

niestudio:

please post a url

thanks for your reply,
url from what? my site is
https://www.hatzel.gr/eshop
but I'm not getting this error when a customer is switching languages at my site but when I do it at the admin page....

21 Sep 2012, 2:51 PM
#3276
niestudio avatar

niestudio

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

teoB:

thanks for your reply,
url from what? my site is
www.hatzel.gr/eshop
but I'm not getting this error when a customer is switching languages at my site but when I do it at the admin page....
I'm not really familiar with ZC language support. maybe someone else will be able to help. sorry

21 Sep 2012, 3:12 PM
#3277
teob avatar

teob

New Zenner

Join Date:
May 2010
Posts:
13
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

niestudio:

I'm not really familiar with ZC language support. maybe someone else will be able to help. sorry

That's ok, thanks for your interest!

1 Oct 2012, 12:41 PM
#3278
dbb1 avatar

dbb1

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

I've installed the latest version of Lightbox to a fresh v1.5.1 ZenCart. Everything seems to work fine, but I notice that when viewing with Safari on an iPad (iOS v6), the NEXT and PREVIOUS labels are not displayed when additional images exist. The corners are active when clicked, just no Next or Previous images. Works fine from a PC.

Any ideas?

1 Oct 2012, 1:29 PM
#3279
niestudio avatar

niestudio

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

DBB1:

I've installed the latest version of Lightbox to a fresh v1.5.1 ZenCart. Everything seems to work fine, but I notice that when viewing with Safari on an iPad (iOS v6), the NEXT and PREVIOUS labels are not displayed when additional images exist. The corners are active when clicked, just no Next or Previous images. Works fine from a PC.

Any ideas?

Can you post a link to the site?

3 Oct 2012, 2:15 PM
#3280
damage11 avatar

damage11

New Zenner

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

Re: Zen Lightbox addon [Support Thread]

Hi i just installed and everything is working great, but its not showing the next and previous tabs on top of image.
I installed the latest version i believe. Also since i sell templates the template image takes up the whole page and on some images the close tab on the bottom is only half visible, is there a way for close tab to always be aligned so always visible within the image. One more thing i cant scroll right , for images that need it.
Website - (PTCTEMPLATES . COM)