Could that be the wrong additional images.php file? Or maybe because I installed slimbox first?
Printable View
Could that be the wrong additional images.php file? Or maybe because I installed slimbox first?
OKay, it was very simple. I apparantly had overwritten the lightbox version of additional_images.php :oops:
Once the new version was loaded, it works fine! Thanks for all your help!
How did you get the IH2 back up? If you can point me to the thread I would appreciate it. Last night everything was working great. Now only lightbox is functional.
http://www.digiscrappin4ever.com/digistore/
This "Operation Aborted" problem is driving me nuts... I am having this same exact problem after everything was working fine for two weeks, -- it's only on the product pages and it is only in IE7 and it is only after you click or rollover one of the main product images then navigate to another product page, and after that it's almost impossible to get any of the product pages to come up. It happens exactly as the author describes above.
I have seen other cries for help on this Operation Aborted issue go unanswered. One person figured out that it was her additional_images.php file that she had overwritten, and when she replaced it everything was great. I have been over and over these files, and mine are fine. One person on another thread suggested to someone that when they put their "jscript" folder into the main template folder as well as the custom template folder, evrything worked for them, but I have done that and I'm still getting the error.
The site is live, and my client discovered the bug last night... I am now in serious trouble if I can't fix this. It's the only bug on the site, and I'm at my wit's end. Does anyone have any ideas?????
:wacko:
Thanks
Above, the author is addressing someone else's problem about something else, but he gets this bug.
This "Operation Aborted" problem is driving me nuts... I am having this same exact problem after everything was working fine for two weeks, -- it's only on the product pages and it is only in IE7 and it is only after you click or rollover one of the main product images then navigate to another product page, and after that it's almost impossible to get any of the product pages to come up. It happens as the author describes above, as well, plus you get a "Operation Aborted" alert box.
I have seen other cries for help on this Operation Aborted issue go unanswered. One person figured out that it was her additional_images.php file that she had overwritten, and when she replaced it everything was great. I have been over and over these files, and mine are fine. One person on another thread suggested to someone that when they put their "jscript" folder into the main template folder as well as the custom template folder, evrything worked for them, but I have done that and I'm still getting the error.
The site is live, and my client discovered the bug last night... I am now in serious trouble if I can't fix this. It's the only bug on the site, and I'm at my wit's end. Does anyone have any ideas?????
The site is http://www.phylliseig.com -- Go to the catalog section (Gift Collections) and there you can get the product listings by clicking on the categories. Click on any of the products and you'll soon start to see this happen (only in IE 7 or 6)
Earlier I posted a way to view attribute images with lightbox... that still works fine, and is not causing this problem... I ripped it out temporarily and I still have this problem. I have had Javascript experts tell me that the lightbox scripts are not loading in the right order or fast enough and so I'm wondering it that's part of it???
:wacko:
Thanks
I had the operation aborted problem too. I didn't know it yet when I did the last post. Neither slimbox nor lightbox worked...ie always did an 'operation aborted' when trying to open up a product info page.
I did find a lightbox that worked, but it's commercial. $32. Let me know by pm if you want the info. I'm working now on getting it to work on the additional images.
If I take a while to respond, I'll be gone till 2am tomorrow morning, so that's why I'm slow to respond!
Hi!
I have a newly installed ZC 1.3.8a and added Lightning 1.4
The strange is that the product image will not popup, it is displayed at the bottom of the page!
I have followed the install instruction that included in the package.
Have search the thread and can-t find a solution for this
(apologize if I have miss a contribution)!
Have I miss some steps?
Can some help me?
//TEW
Hi all,
I've similar problems as others who have been complaining about product page not being able to load in IE. Previously, when I first designed the website, everything was working properly. Recently, I've been told by users that the individual product pages can't be loaded in IE. All pages load fine in Firefox. Only product pages will not load in IE.
I'm using Zen Cart 1.38a and Lightbox 1.4.
Website address: www.SingaporeVault.com/store
I've re-uploaded tpl_modules_main_product_image.php and additional_images.php but it didn't help. The only other programs I uploaded recently as far as I can remember was 1) Admin login as customer and 2) Encrypted Master Password. Does this 2 programs conflict with Lightbox? I forgot to check IE after I installed these 2 programs.
Please help. Thank you.
I am having exactly the same problems with I.E. and product pages, and product check out screen. Running it through a WC3 Validator shows a lot of errors. Am trying to learn how to interpret these so I can fix them. Not being a coder, it is slow going. But I.E. definitely been a problem for me.
I've poked around a great deal and I am not 100% comfortable knowing where the problem really lies. A WC3 Validator shows lots of errors that are coming out of files like attributes.php, but I am not sure this is really the whole story. Not beng a coder, I can't make qualitative judgements on it. Have been trying to get some interest from other smarter folks to be able to comment on this because it is a real problem. I will continue to try and understand what is going on, but for the moment, we need to keep asking for help until the calvary arrives.
Lightbox or Slimbox + Flash on site = NO NO, you will get Operation Aborted on IE
Fix :
http://www.designlegion.com/rave/fla...-satay-method/
I installed a straight up ZenCart site with no addons except for the Gallery2 Bridge. It does not do anything with Java, just pulls the images from the Gallery2 repository site. And I get the I.E. failures. This is what is so perplexing. A straight ZC install works, but the bridge introduces these abberations. Sigh...
I am not sure what is conflicting with IE but I've solved the issue of product page unable to load by deleting this file:
\includes\modules\pages\product_info\jscript_zen_lightbox.php
Now my website uploads in IE but Lightbox is disabled/not working.
This code was directly copied from:
\includes\modules\pages\product_info\jscript_zen_lightbox.php
I compared the different pages (product page vs catalog page) and the difference i found was the above code. Once the above code was taken out, the product page loads fine but without the functions of Lightbox. I really like the Lightbox function and I hope that someone can look into the above code and see if it is IE compatible. Thanks!PHP Code:
<?php
/**
* Zen Lightbox v1.4
*
* @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: jscript_zen_lightbox.php 2007-09-15 aclarke $
*/
echo '<script type="text/javascript" src="' . $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/lightbox_lightningload.js"></script>
<script type="text/javascript" src="' . $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/lightbox_prototype.js"></script>
<script type="text/javascript" src="' . $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/lightbox_scriptaculous.js?load=effects"></script>
';
?>
<script language="javascript" type="text/javascript"><!--
var fileLoadingImage = "<?php echo $template->get_template_dir('.gif', DIR_WS_TEMPLATE, $current_page_base,'images'). '/zen_lightbox/' . 'loading.gif'; ?>";
var fileBottomNavCloseImage = "<?php echo $template->get_template_dir('.gif', DIR_WS_TEMPLATE, $current_page_base,'images'). '/zen_lightbox/' . 'closelabel.gif'; ?>";
var overlayOpacity = <?php echo ZEN_LIGHTBOX_OVERLAY_OPACITY; ?>;
var overlayDuration = <?php echo ZEN_LIGHTBOX_OVERLAY_DURATION; ?>;
var animate = <?php echo ZEN_LIGHTBOX_RESIZE_ANIMATIONS; ?>;
var resizeSpeed = <?php echo ZEN_LIGHTBOX_RESIZE_SPEED; ?>;
var borderSize = <?php echo ZEN_LIGHTBOX_BORDER_SIZE; ?>;
<?php
if (ZEN_LIGHTBOX_CLOSE_OVERLAY == 'true') {
echo 'var objOverlay = document.createElement("div");
objOverlay.setAttribute(\'id\',\'overlay\');
objOverlay.style.display = \'none\';
objOverlay.onclick = function() { myLightbox.end(); }
var objLightbox = document.createElement("div");
objLightbox.setAttribute(\'id\',\'lightbox\');
objLightbox.style.display = \'none\';
objLightbox.onclick = function(e) {
if (!e) var e = window.event;
var clickObj = Event.element(e).id;
if ( clickObj == \'lightbox\') {
myLightbox.end();
}
};';
} else {
echo 'var objOverlay = document.createElement("div");
objOverlay.setAttribute(\'id\',\'overlay\');
objOverlay.style.display = \'none\';
var objLightbox = document.createElement("div");
objLightbox.setAttribute(\'id\',\'lightbox\');
objLightbox.style.display = \'none\';';
}
if (ZEN_LIGHTBOX_HIDE_FLASH == 'true') {
echo 'function hideFlash(){
var flashObjects = document.getElementsByTagName("object");
for (i = 0; i < flashObjects.length; i++) {
flashObjects[i].style.visibility = "hidden";
}
var flashEmbeds = document.getElementsByTagName("embed");
for (i = 0; i < flashEmbeds.length; i++) {
flashEmbeds[i].style.visibility = "hidden";
}
}';
} else {
echo 'function hideFlash(){
}';
}
echo 'function showSelectBoxes(){
var selects = document.getElementsByTagName("select");
for (i = 0; i != selects.length; i++) {
selects[i].style.visibility = "visible";
}
flashObjects = document.getElementsByClassName(\'' . ZEN_LIGHTBOX_HIDE_ME . '\')
flashObjects.each(function(object){
Element.show(object);
})
}
function hideSelectBoxes(){
var selects = document.getElementsByTagName("select");
for (i = 0; i != selects.length; i++) {
selects[i].style.visibility = "hidden";
}
flashObjects = document.getElementsByClassName(\'' . ZEN_LIGHTBOX_HIDE_ME . '\')
flashObjects.each(function(object){
Element.hide(object);
})
}';
?>
//--></script>
<?php echo '<script type="text/javascript" src="' . $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/lightbox.js"></script>'; ?>
Hm, that's interesting. I may try to remove it and see what happens. I can't even get the image attributes to display with this Gallery2 bridge in place. Thought that was very odd. But will give this a shot.
Is too bad about Lightbox too. That is a nice thing. Dunno how many times Microstuff and I.E. have raised their ugly head and bt me in the arse.
What file did you remove this code, From? tx
I removed the entire file:
This code was directly copied from:
\includes\modules\pages\product_info\jscript_zen_lightbox.php
I'm sure this has been answered but I've been searching through this thread for awhile now looking for an answer to no avail. How would I enable Lightbox on EZ pages?
Hi guys I know what you all are going through with this Module. I am not downing this Module but I had this same problem in IE. I decided to try other Modules and find one that worked for me. I'm not saying it will for you but you can try it and see. It is free also. Like I said I'm not downing this Module I think it was great at the start. Here is the link to the other one.
Well I installed this mod and the weirdest thing happens- well weird from where I am sitting as I have no idea why it does that.
When the 'enlarge image' is clicked it opens the image at the bottom of the page not in the lighbox. What can i do to fix this?
Any help would be very much appreciated.
Thanks.
Okay, thanks I'll PM you... I have discovered the conflict. I have GoogleAnalytics for Zen Cart installed at the same time I have Zen Lightbox. For some reason they conflict. I was down with the flu the last few days, so I had to just disable GoogleAnalytics for Zen Cart temporarily, while I figure this out, so I'll be trying a few things and post my results here.
Thanks to everyone that helped me get to this point. Without GoogleAnalytics, everything's great! But, I need to get that back in there somehow.
snowkrash, I am just about to install Google Analytics myself (and have Zen Lightbox installed). I hope to not run into the same problem but if I do, I'm awaiting your solution! :D
You will have to delete all files that is included in the Lightbox on your sever, then you will have to go to your database and delete everything that deals with lightbox. Then try installing the one I suggested. I bet it just might work out for you. You can see on my site I have no problems with it at all. Good luckQuote:
Just tried the mod you were talking about. Same thing happened. IE refuses to open product page. It has also to do with the Java Script in modules/pages/product-info. Does anyone know why the Java Script is bothering IE?
This is precisely what is happening here. On the product page. Just reinforcing this, but lack sufficient skills to fix, so far. Am about to drill into this and bone up on it in case it does not get solved elsewhere. It really is a problem, having I.E. be so moody.
My website: www.singaporevault.com/store
I've deleted one file and switch the mod off. IE was not able to load again. Had no choice but to switch it off. But when I tried it in firefox, it was looking good and there were less files to upload too. If someone has a working site, please kindly post so that I can compare the codes to see what is different.
Next, if anyone wants to uninstall Lightbox, I believe you can use the following code to put inside SQL patches:
Code was copied from: http://www.zen-cart.com/forum/showpo...&postcount=157Code:SET @t4=0;
SELECT (@t4:=configuration_group_id) as t4
FROM configuration_group
WHERE configuration_group_title= 'Zen Lightbox';
DELETE FROM configuration WHERE configuration_group_id = @t4;
DELETE FROM configuration_group WHERE configuration_group_id = @t4;
I've tried it and it seems to be working fine.
Just checked out your site. I will review it later to see what codes are different. I've uninstalled lightbox using the code above that I found. Isn't that sufficient?
Next, on a side note, where did you get the code for the listing page? You have dotted lines surrounding the products in rows of 3. It looks much neater than mine.
The code to uninstall will just get rid of lightbox in your admin
configuration. It still leaves tables in your database under configuration_title. I always delete the table that deal with a Module, but that is up to you. Anytime you delete something from your database always do a backup first. The dotted lines comes with the Cherry Zen Template by jettrue. There is a code he included to do that.
If you really not sure what to do I guess you better leave that part alone until you get a little more experience in what to do. If you haven't already go to your database and look around. The tables for lightbox will be under your PhpMyAdmin/configuration/configuration_title. Check with a check mark on configuration_title and click the browse button. Look at your tables and see if they deal with the lightbox. They will be some that do. If so just delete them. Good luck
AWESOME CONTRIBUTUION!!!! Thank you!!!:clap::clap:
Hi- I just installed this and it's not working. I don't think it is loading the javascript files at all.
I use the wonderful Lightbox in combination with Image Handler which works almost perfect.
Nice job!
But the additional images in the lightbox are not rezised. They will be shown with full size. How can we change that it will get the rezised image either for the first as the additional images?
Hello,
A new user here, we have a new zencart that has been implemented and i installed he zen lightbox yesterday. Works like a charm, however i have 1 issue, that perhaps someone could shed some light
1- If my product has no attributes defined, the lighbox works fine. ex here
2- However if my product has attributes defined, the image still opens up in a pop up. Ex here
We use the same product image for the attributes but for some reason the lighbox wont be triggered for these products.
Please any suggestions would be great
Thanks
I am having the same trouble with the lightbox appearing BEHIND the top menu header.
Being somewhat css challenged... could you tell me which stylesheet and exactly what 'div id' or 'div class' sections you edited to make the lightbox appear in front of the cascading menus.
I am using zencart version 1.3.8 and have ImageHandler2 installed
I'm using the zencart_zen template by clyde jones (here's a link to the template if needed) http://www.zen-cart.com/index.php?ma...roducts_id=450
My website is:
http://www.ZenCrystals.com
And here's a picture of what the lightbox looks like on the site if that helps...
http://www.maidenmotherandcrone.com/lightbox-sample.jpg
Any help would be greatly appreciated.
Zencart ROCKS :clap:
Just solved my own issue from above...
for anyone else with the same issue of lightbox displaying behind a css menu that is NOT css savvy, here is how i fixed it...
1. using Firebug (the firefox addon) i pinned down the class element for my menu (in my case with the zencart_zen template it was .level1)
2. in Admin>Config>Zen Lightbox i ADDED ,level1 to the DIV CLASS TO HIDE section
Everything works PERFECTLY now!! Thank you for such an excellent module... i'm off to donate now :clap:
P.S. for those less css illiterate than me, the answer is explained in the README.HTML folder near the bottom under FAQ's
Thanks again for such a great mod!
Zencart ROCKS :clap:
Try changing the 'z-index' on either or both of the css files.
Craig
Added the div class hide suggested by Craft Magick, which made it work perfectly for me, after giving me nothing prior to that change. Excellent lightbox. Only thing is that I have close on overlay click set to true but the lightbox still only closes when the close link is clicked.
Would be nice to have it close on a click anywhere on the image, but no nig deal if that is not functional.
Thanks for the add on :D
Please forgive my ignorance, but what is the 'z-index' and where/how do I change it to?
My drop-down menu header bar is still showing up in front of the product image (unless you happen to be scrolled further down the screen when you click on the image - which is why I thought the issue was resolved!)
Here is what I have currently listed in the admin>config>zen lightbox>div class to hide section:
zenLightboxHideMe,.submenu,.level1,.level2
Perhaps I am misunderstanding the difference between div class and div id ??? :frusty: (I'm a novice with css)
Running zc version 1.3.8 with the zencart_zen template
Here's a link to the website
www.ZenCrystals.com
Any help is appreciated...
Zencart ROCKS :clap:
P.S. Anna718, glad my solution worked for you :clap:
Hi
I've had a quick look at your css and it looks as if your z-indexes should work, I think!
Try looking on the dropdown menu support forum:
http://www.zen-cart.com/forum/showthread.php?t=58629
Or, you could try Fual Slimbox (Lightbox) instead:
http://www.zen-cart.com/forum/showthread.php?t=82990
Craig
I install the zen_lightbox_1-4-UPDATED for the first time, and i have a proablem.
When i click on the product image the image is not showing .
Please help mee.
I put an link too se an example.
http://www.perfectoffice.ro/index.ph...roducts_id=125
Ihope somewone ken help mee!!!
Please nobody ken help mee ?
I discover if i press on the page with the name COMENTARII and after dat i push on the pictures, the light box worg verry good.But if i go CATEGORII - > PRODUCT - > AND -> PUSH OF THE IMAGE PRODUCT is not work (is not load the image.)
Please help mee ...
Sorry for my bad english !
Best regards !
Thank you CES for the links. After much research, trial and error, and finding solutions that did not solve the issue, it turns out that your original suggestion a few days ago of just changing the 'z-index' worked perfectly. My problem was, I had no clue WHAT a z-index was (I do NOW:smile:) nor did I know WHAT file to look for it in or where to even begin looking or what to change even if i found it...
So, in case there are any other non-programmers/css/php/sql savvy zencart users out there besides me... and for anyone else that has tirelessly researched these boards looking for a way to get lightbox to appear in FRONT of a css drop-down header menu...
Here is the ultimate solution that has finally and successfully worked for me....
1. open the following file:
/includes/templates/YOUR_TEMPLATE/css/stylesheet_lightbox.css
2. at the top of the page find this code:
3. change the value of z-index from 100 to 9000Code:#lightbox{
position: absolute;
left: 0;
width: 100%;
z-index: 100;
text-align: center;
line-height: 0;
}
TA-DA... :hug: THE PERFECT INTEGRATION OF LIGHTBOX WITH A CSS DROP DOWN HEADER MENU :clap:
So thank you VERY much for your z-index suggestion that worked perfectly once I figured out what it meant :blush:
Zencart ROCKS :clap:
Always clear your cache on your browser when ever you change things. This way it will always show you what you have changed.
Thank you very much for the tip Countrycharm, I appreciate it. I always 'refresh' the page, but I probably could have saved myself hours of frustration by simply clearing the cache, as well.
I appreciate your taking the time to offer this valueable suggestion and will definitely take heed.
Have a joyous, safe, and blessed holiday season.
Zencart ROCKS :clap:
For everyone that is getting this error when trying to add the installation SQL patch into their Zen Cart. What the problem is, is an extra table in your configuration_group from working with a website that is in multiple languages. You have to modify your SQL to work. I used the code below and it worked great!
INSERT INTO configuration_group
VALUES (
NULL , 'Zen Lightbox', 'Configure Zen Lightbox options', '1', '1'
);
MySQL meldet:
#1136 - Column count doesn't match value count at row 1
***********************Use the code below instead************
INSERT INTO configuration_group VALUES (NULL, 'Zen Lightbox', 'Configure Zen Lightbox options', '1', '1', '1');
UPDATE configuration_group SET sort_order = last_insert_id() WHERE configuration_group_id = last_insert_id();
SET @t4=0;
SELECT (@t4:=configuration_group_id) as t4
FROM configuration_group
WHERE configuration_group_title= 'Zen Lightbox';
INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'Enable Zen Lightbox?', 'ZEN_LIGHTBOX_STATUS', 'true', '<br />If true, all product images on the following pages will be displayed within a lightbox:<br /><br />- document_general_info<br />- document_product_info<br />- product_free_shipping_info<br />- product_info<br />- product_music_info<br />- product_reviews<br />- product_reviews_info<br />- product_reviews_write<br /><br />Please note: To completely remove Zen Lightbox you will need to manually delete the installation files.<br /><br /><b>Default: true</b>', @t4, 1, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '),
(NULL, 'Overlay Opacity', 'ZEN_LIGHTBOX_OVERLAY_OPACITY', '0.8', '<br />Controls the transparency of the overlay.<br /><br /><b>Default: 0.8</b>', @t4, 2, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''0'', ''0.1'', ''0.2'', ''0.3'', ''0.4'', ''0.5'', ''0.6'', ''0.7'', ''0.8'', ''0.9'', ''1''), '),
(NULL, 'Overlay Fade Duration', 'ZEN_LIGHTBOX_OVERLAY_DURATION', '0.2', '<br />Controls the fade duration of the overlay.<br /><br /><b>Default: 0.2</b>', @t4, 3, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''0'', ''0.1'', ''0.2'', ''0.3'', ''0.4'', ''0.5'', ''0.6'', ''0.7'', ''0.8'', ''0.9'', ''1''), '),
(NULL, 'Enable Resize Animations?', 'ZEN_LIGHTBOX_RESIZE_ANIMATIONS', 'true', '<br />If true, the lightbox will be animated as it appears on the screen.<br /><br /><b>Default: true</b>', @t4, 4, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '),
(NULL, 'Resize Speed', 'ZEN_LIGHTBOX_RESIZE_SPEED', '7', '<br />Controls the speed of the image resizing.<br /><br />(1 = slowest and 10 = fastest)<br /><br /><b>Default: 7', @t4, 5, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''1'', ''2'', ''3'', ''4'', ''5'', ''6'', ''7'', ''8'', ''9'', ''10''), '),
(NULL, 'Border Size', 'ZEN_LIGHTBOX_BORDER_SIZE', '10', '<br />If you adjust the padding in the CSS file, you will need to update this variable.<br /><br />Please note: This value is measured in pixels.<br /><br /><b>Default: 10</b><br />', @t4, 6, NOW(), NOW(), NULL, NULL),
(NULL, 'Close on Overlay Click?', 'ZEN_LIGHTBOX_CLOSE_OVERLAY', 'false', '<br />If true, the lightbox will close when the overlay is clicked.<br /><br /><b>Default: false</b>', @t4, 7, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '),
(NULL, 'Hide Flash Objects?', 'ZEN_LIGHTBOX_HIDE_FLASH', 'true', '<br />If true, all Flash objects will be hidden when the lightbox is displayed.<br /><br /><b>Default: true</b>', @t4, 8, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '),
(NULL, 'DIV Class to Hide', 'ZEN_LIGHTBOX_HIDE_ME', 'zenLightboxHideMe', '<br />Any content wrapped in a DIV tag with this class will be hidden when the lightbox is displayed.<br /><br /><b>Default: zenLightboxHideMe</b><br />', @t4, 9, NOW(), NOW(), NULL, NULL);
Dear all,
My website have some little problem with Zencart Light box + You tuble video code.
When i click into image of product which have video from you tuble. The image behind the video ! How to configure for image show in the first ?
This is image:
http://www.handicraft-vn.com/gallery...+you+tube_.png
KIM SON
Thanks you !! :clap:
Is there any detailed instructions for removing this MOD?
The reason I want to remove, its not working with extra images. I have made sure the file name is correct with the extension and still additional images do not work.
Just a quick update...
I've spent the last few weeks working on Zen Lightbox v1.5 and can confirm that it will be released within the next 48 hours.
It's packed full of bug fixes, new features and much more!
At present, I'm just about to write the new installation SQL and then update the documentation. Once complete I'll upload v1.5 to the contributions section and post a follow-up here.
So, if anyone is planning on installing Zen Lightbox (or fixing an existing bug) you might want to save some time and wait for the update. :cool:
Best Regards,
Alex
Sounds good Alex can't wait. :clap:
Hi all - quick question about this contrib before I install it :
Will it do the following :
When customers are looking through the list of products on my shop they, obviously, see a small image on the product in the list. I want them to be able to hover the mouse over the image and for the full size image to pop-up. Please note : I only have one size of images on my site.
THanks in advance for any advice.
This is part of what Image Handler 2 does, not Zen Lightbox.
You can use IH2 and Zen Lightbox together and benefit the functionality that both contributions offer.
However, if you're thinking of installing Zen Lightbox you may as well wait for the v1.5 release (in a few hours time).
Thanks V much for the reply Alex. If it isn't a silly question, what exactly does Lightbox do?
It adds a 'lightbox' effect to various images on your website - replacing the need for JavaScript popup windows.
You can view a demo of this lightbox effect (without the Zen Cart integration) at the following site.
http://www.digitalia.be/demo/slimbox/
Thanks for that Alex - nice effect!
Hi there- I have searched around the Forums but decided to post here- It seems that Zen Lightbox is causing 2 script errors when launched in Internet Explorer 7- As follows
1)
Line: 1
Char: 159
Error: 'Null' is Null or not an object
2)
Line: 48
Char: 3
Error: Object Required
I am no coder, so I was wondering if someone could point me in the right direction
Cheers
Andy
http://www.neverdrillagain.co.uk
p.s. Works fine in Firefox?
Given the serious security flaws that have been uncovered in all versions of the IE browser, I am surprised that anyone would be suing it to conduct ecommerce. It could be wise to warn your customers against using this browser for now anyway.
See http://news.bbc.co.uk/1/hi/technology/7784908.stm if you are unaware of the current risks of using IE
I believe this issue has just been patched.
Running Windows Update (or Microsoft Update) should allow you to download and install the update.
Zen Lightbox v1.5 has just been uploaded!
It will take up to 1 week before the file will appear in the Free Software Add Ons section. I'll be keeping an eye on things and post a link to the download once it's available.
Some exciting new features include being able to use the lightbox effect on any page (including EZ-Pages), multilingual support and keyboard navigation.
You'll find a complete list of changes below.
Version 1.5 - Release Date: 2008-12-18
While we're waiting for the download to go live, I'd like to wish everyone a very Happy Christmas and hope you all have a great New Year too!
- Added Caption Animation Duration admin switch
- Added Close Lightbox admin switch
- Added Close on Image Click admin switch
- Added Display Image Counter admin switch
- Added Enable Keyboard Navigation admin switch
- Added full support for multilingual stores
- Added greater flexibility for Overlay Fade Duration admin switch
- Added Image Fade Duration admin switch
- Added Include Main Image in Gallery admin switch
- Added Initial Height admin switch
- Added Initial Width admin switch
- Added missing </b> to install.sql file
- Added Next Image admin switch
- Added Previous Image admin switch
- Added Resize Transition admin switch
- Added support for lightbox effect on any page (including EZ-Pages)
- Added title attributes (similar to alt text) to lightbox buttons
- Added uninstall.sql file
- Removed Border Size admin switch (this is now controlled by CSS)
- Removed DIV Class to Hide admin switch
- Removed Enable Resize Animations admin switch
- Removed header_php.php core file change
- Removed Hide Flash Objects admin switch (Slimbox handles this automatically)
- Updated blank entries in install.sql file to NULL
- Updated invalid characters in rel attributes of links (output code is now valid XHTML)
- Updated JavaScript code to classes to avoid source code duplication
- Updated lightbox code to Slimbox v1.67
- Updated modules to prevent JavaScript code from loading when Zen Lightbox is disabled
- Updated support for Zen Cart 1.3.8a and Image Handler 2.0_for_137
- Updated various configuration titles and descriptions within the admin
Regards,
Alex
Excellent news and features Alex. Well done indeed :clap:
My first post ever,
Does anybody know how to search a thread?
Whenever I search it always takes me to yhe main thread page.
I have a slight problem and the answer is probably in here somewhere. I just cant seem to find where to search a tread.
Anybody have an idea?
OK, nevermind the search problem. Figured that out.
Heres my problem.
ZC 1.3.8a
imagehandler2.0
lightbox1.4updated
I am trying to use image handler and lightbox together and have installed each seperatley to work just fine.
When i load IH2 first(and works fine) then i load lightbox and Image handler quits the hover image. Light box works just fine.
uninstall lightbox and image handler works again.
Is there a file or piece of code that conflict?
Can someone point me to the right file?
The Zen Lightbox v1.5 download is now live.
http://www.zen-cart.com/index.php?ma...roducts_id=273
Anyone that's experiencing issues with Zen Lightbox is advised to upgrade to v1.5 as many bug fixes and code optimisations have been included in this release.
If problems persist please post here and I'll try my best to help you out.
Enjoy!
Hi, I renamed the folders to my template name & uploaded all the files in correct folder structure via FTP & then ran the sql install but my images still pop up in "windows" box
I followed the instructions.
Maybe I'm missing something?
Cheers
Thought I might add I add same issue with 1.4 updated - although i had that working on a "dummy run" not live site
My cart is 1.38a by the way & lightbox is in the configuration menu with all the options. Just won't light up for me?:no:
Just thought I would mention that when I say "not work" I mean I am just getting normal pop up window instead. Heres a link
Cheers
http://www.cyclespares4u.co.uk/catal...4eddc546751ba6
Alex, just wanted to say thank you for a fantastic add on. We had Zen Lightbox up and running in less than 5 minutes, even had time to add my own little interface mod (very small mind).
Looks great...
http://www.tradersupplies.co.uk/inde...roducts_id=218
Still got a lot of work to do on the store interface but Zen Lightbox is 100% spot on. Love it. :clap:
This is bugging me now :( I really want lightbox to work, it looks great & I will donate:cool: if I can get it working
You know when you upload the files via FTP - Do the files uploaded have to have "permissions" (File attributes) given to them so they can be accessed on site. They are set to Owner Read, Write. & Group is not set & public is not set either.
Sorry if I am a bit dim
Hi. I am having trouble running the SQL file to install this addon. This is the error I receive when I try to execute the script:
"cwyshop" is the name of my database and the prefix for my Zen Cart tables is "zen_"Code:1146 Table 'cwyshop.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've tried adding "zen_" to the front of of the table names but still get an error and in the end only 4 statements get executed.
Does anyone know what's wrong?
-------------------------
Er, nevermind. I found a code oin one of the previous pages, tried it, and it worked. Weird because I had copied and pasted the sql file exactly.
Anyway, now I have 3 "Zen Lightbox"s under Configuration. The only one that works is the third one. How do I remove the first two?
Thank you for the update Alex. Installed easily and working perfectly. Great job :clap:
cyclespares- set your group and public permissions to read a chmod of 644 on files or 755 on folders should fix things up for you.
Hi and thanks for this contribution! I love it! Now just to get it working on my new site LOL You can see it on my old digital scrapbooking site HERE.
Hi. This is what I used:
http://www.zen-cart.com/forum/showth...198#post512198
Unfortunately the mod still doesn't seem to be working.
HELP SOMEONE!
Lightbox is turned on but my images still load in a new window. Also, if I turn it off, my additional images get messed up. Like, if you click on an additional image, it just loads the base image. If it's on then the correct image loads but it's not in a lightbox. This seems to be some kind of conflict with Image Handler 2.
Anyone know what's up with this?
Was able to remove those extra two "Zen Lightbox" options from my Configuration menu by deleting the entries in the database, btw. Just need Lightbox to actually work now...
I am also running Image Handler 2 and the lightbox worked fine first time. Not really possible for there to be any conflict.
I am still getting pop ups. I am not running Image Handler.
www.raspberryjamcloth.com
Where do I put jscript_zen_lightbox.php ?
I've just checked your site and cannot see any of the Zen Lightbox code in the HTML output.
Did you rename the 3 overrides folders to your template name before copying the files to your site?
If you like, PM me your FTP and Zen Cart Admin details. I'll then log on and check to make sure everything is installed correctly.
Can you confirm that you're running the install.sql code by copying the contents of the file, pasting it into the box via your Zen Cart Admin? Or, are you using phpMyAdmin?
Also, if you could post your MySQL and PHP version information here that would be great.
Please make sure you back up your database before trying this!
With regards to removing the 3 (well, 2) of the extra 'Zen Lightbox' listings in your configuration menu, simply open the configuration_group table with phpMyAdmin and locate the rows of data which contain 'Zen Lightbox' as the configuration_group_title. You *should* be ok to delete the two with the lowest configuration_group_id values.
This should resolve your issue.
Alternatively, you could run the uninstall.sql code (via Zen Cart Admin) and the run the install.sql straight after.
I've just read your last few posts.
The SQL code that you ran (which someone else linked to from an old post) was code only to be used with v1.4 and not the latest release.
You will need to successfully install the new SQL code in order to get Zen Lightbox to work.
First run the uninstall.sql code (via Zen Cart Admin). Then, run the install.sql code.
Please post back any errors you received here. I'll then be able to troubleshoot this further for you.
Is this the file that was in the root of the v1.5 release? If so, that's only to be used if you want to enable Zen Lightbox on extra pages of your website (i.e. the contact_us page).
I've checked your wesite and it appears that you have not run the install.sql code.
Please run the uninstall.sql code followed by the install.sql code.
Let me know how you get on! :smile:
I ran the uninstall & then the install - I get this error again -
I am running zen cart 1.3.8a / MySQL client version: 4.1.22 / PHP5 (I think)Quote:
1146 Table 'rbjc_zc2.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.
May I say hot dog!! and here is how I got it working...
I went to the cherry zen support thread and found this: http://www.zen-cart.com/forum/showpo...postcount=1080
Put in fix since that is the template my cart is based on
I uninstalled the SQL again
I reinstalled the SQL using phpMyAdmin - changing instances of configuration_group to zen_configuration_group
Now I need to figure out how to size my large pics
I'm sure this has been gone over before but I wasn't finding much in my search of the thread. Great mod with an easy install. My question is.. Is there a way to make the lightbox load the image on mouse over? It is cool but right now they have to click the image to open the product page and then click the image from the product page to load it. I understand this would be bandwith intensive, but I'd like to try it if possible.
I found this bug when tried to upgrade into new version ! Please help me :
Quote:
1146 Table 'handicra_shop.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.
This sounds like a good feature that I'll have to add. It should be fairly easy to implement.
I'll add this to the additions/features for v1.6, which I'm currently working on at the moment.
PM me if you would like me to work on this straight away for you (for a small fee/donation), or you can wait for the v1.6 release.
Thanks for the update.
Did you get any error messages when installing the SQL this time?
Also, I'll make sure that a fix for the Cherry Zen template is included in the v1.6 release. Thanks for pointing this out.
Just to confirm, you were running the install.sql by copying the text from the file and pasting it into the text area (Install SQL Patches) in the Zen Cart Admin, right?
It appears that a number of people are running into SQL errors during the installation.
I'm fairly sure that this is owing to the MySQL version (being 4).
My developement environment is based on the following:
I'll look into this installation issue and see if MySQL is unhappy with the script.
- IIS 5.2 build 3790
- PHP 5.2.5 (Zend: 2.2.0)
- MySQL 5.0.51a-community-nt
I was having the same problem and even with the fix it would not install the sql
what I did was add the zen_ to the cnfigurations EXCEPT the one right after [email protected] very first instance I left as is with just adding the zen_ to the others there.
It installed, and works however.....
when I go into admin>configurations>Zen Lightbox there are NO controls to set...only the column titles.
Are they not supposed to be visible?
I check database and the zen_configuration and zen_configuration_group have the lightbox info there:
zen_configuration:
close on image click
close on overlay click
close lightbox
overlay fade duration
zen lightbox
overlay opacity
zen_configuration_group:
zen lightbox (configure zen lightbox settings) is set to 1 as visible
i am running zencart 1.3.8a
mysql is 5.051a community
php version 4.4.8(zend:1.3.0)
php on server is 5.2.6
ideas how to get it to show up in the control panel of admin section?
Happy Holidays everyone!
Alex - I got errors, but I added the zen_ to the configure tables in the install codes as it gave errors and that fixed it.
Quote:
HTTP Server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
PHP Version: 5.2.8 (Zend: 2.2.0) PHP Memory Limit: 128M PHP Safe Mode: Off
PHP File Uploads: On Max Size: 50M POST Max Size: 50M
Database Data Size: 8,432 kB Database Index Size: 2,043 kB
This is my server information.