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?
Views: 952,693
New Zenner
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?
Zen Follower
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.
Totally Zenned
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..
Zen Follower
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?
New Zenner
Can someone make the lightbox movable/draggable?
That will be awesome.
Zen Follower
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;}
New Zenner
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.
New Zenner
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
Totally Zenned
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..
Zen Follower
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
New Zenner
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
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:
New Zenner
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
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
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?
New Zenner
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???
Zen Follower
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
New Zenner
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....
Zen Follower
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
New Zenner
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!
Zen Follower
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?
Zen Follower
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?
New Zenner
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)
Fields marked required must be completed.
Tell staff why this post should be reviewed.