THANK YOU! After wasting numerous hours trying to figure it out I fixed it using your guide. Once again, thanks. Hope it helps everyone else out too.
Printable View
Thanks for this, my Google Chrome used to behave...lol but now it would not show the lightbox effect totally. It would give the black overlay but would only show a white box in place of a picture. I followed the instructions given in the quote and it still did not wish to work right HOWEVER
I did rename the mootools.js that I downloaded to jscript_mootools-1.3.js and added it into the templates/jscript folder with the edited fiels and now I have a working lightbox in my own Chrome.
I did notice though that not only the lightbox broke in Google Chrome and Safari but the IH2 images are not shown at the side as usual, they appear but at the top of the page--which makes it look like there are no hover images when you hover...ideas of how to fix that?
I have done a little more research an it appears EVERYONE who uses Zen Lightbox suffers from this problem if they use product or part numbers for their items.
I guess they haven't full checked their site to know they have this problem.
A few of posters on this thread sites with this same problem (unwanted text / code next to main image) on reviews page
http://www.newandroidtabletpc.co.uk/...roducts_id=103
http://www.actionaidsaustralia.com/i...ducts_id=21025
http://www.prioritypetproducts.com/i...products_id=29
http://www.ducashop.ro/ducashop/inde...oducts_id=1352
http://www.scrapdillyishious.com/sho...roducts_id=103
http://www.blackrunbikes.co.uk/mount...&products_id=2
http://www.creationsdelphine.com/cat...products_id=76
Any solutions or comments welcome
I am new to this forum. I wonder if this is right place to post zen lightbox install issues. I uploaded all the files from downloaded files (after unzipped). When I run the install SQL file it errored as below:"1146 Table 'vallyxllcdb.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.
"
Anyone can help with this? or how I create Table 'vallyxllcdb.configuration_group' if this is right route to go?
thanks a lot. Hoa.
I have not had this problem before the latest update---do not get me wrong I am not talking down about the updates...very needed and being only human things do go wrong from time to time.
However this time only Safari and Google were affected as I said now they just have the IH2 image floating at the top of the page so it looks like there is no hover image at all.
About those links you posted...I use model number/names also but I do not add them to the name of the image. I do put the name down below where the model name is listed in the description page but without ANY non letter/number characters.... gl-mavkadress like that
I do use brackets in the actual name of the product to signify what item the textures are for but they do not bother any other aspect of the description or images.
Maybe they need to remove the brackets and only use the model numbers in the proper place and not the images??
Just a thought is all...for we all put our shops the way we like them to be.
I was waiting to see if all things behaved with this update to IH2 and mainly to see if there were many files to change out or edit to work with lightbox and private area.
ty will look into it
Hi DarkAngel
Thanks for your comments. I dont use any brackets and I see the problem is the same on
http://fantasiesrealm.com/market/ind...roducts_id=175.
It's starnge as I can only find this problem on the reviews page which apperas to use the same code to fetch image as other pages
That is strange since I checked the actual items on the reviews page where there are actual reviews and it did not show up...but it is there on the product without a review...maybe something got left out in the coding of that cart file??
I forgot to ask , how did you come up with that link since the reviews link only goes to actual reviews?
I have read through most of the thread here. Hats off to everyone helping out.
I have a couple of specific symptoms - and would like to know if the specific actions will work for me.
I have the lightbox 1.5 working well in default locations in my store. Lightbox opens properly, shows the caption, and the close icon, using IE7. Same as Firefox.
In the EZ pages, the caption is not showing up - which is OK - because i haven't put it there. :-)
I also have a pop up window that shows my graphics - and have installed the lightbox there as well. I'm playing around with the captions - I've finally gotten one caption to show up - but the close button has never shown up here. Any clue why? and how I can get it to show up? the close button shows up on ezpages and on the product info page.
Additionally - I'm having issues with chrome and safari,
pics don't show up in the lightbox.
With chrome - not at all.
With safari - product info page works great, and ez pages works great. I get no image on my special popup page.
I'm so confused after reading the last 50 pages or so of this thread - is it possible to coalesce the two issues into a couple of posts?
Once that's done, I'll be happy to create a document or two for the updates/changes needed. :-)
Got one part taken care of - once I re-re-re-re-re read the post above...:shocking:
Now onward to the "close" button.
Thanks in advance~
Quote:
Originally Posted by buildingblocks http://www.zen-cart.com/forum/images...s/viewpost.gif
yayyy! after taking a break and coming back and re-re-reading davewests directions and finally finding the slimbox zip that was posted I finally 'GOT IT' and my lightbox is now working in chrome. :clap: It was driving me nuts without my lightbox.
Thank you davewest!
For anyone else that finally discovers they or their customers have a problem with their stores lightbox in google chrome:
go here - http://mootools.net/download
and download the file - MooTools Core 1.3 with compatibility
Go to this post
http://www.zen-cart.com/forum/showpo...postcount=2139
and find near the bottom and download the slimbox.zip file
unzip the the slimbox.zip file and upload the slimbox.php file to \includes\classes\zen_lightbox\, replacing the existing one.
Open the MooTools Core 1.3 file in a text editor. Highlight and copy the code, then paste the code into the two files (removing the code that's in them)
/includes/templates/Your_Template/jscript/
zen_lightbox_mootools_custom.js
zen_lightbox_mootools_default.js
This works for me also, but this switch :
(Close on Image Click =True)
in the admin is broken, I tried dropping it back into the slimbox code (<?php if (ZEN_LIGHTBOX_CLOSE_IMAGE == 'true') ), but it did not help. Not a huge deal. I hope that is the only problem it causes.
Any ideas?
Is there anyway to disable lightbox for certain products? I don't need it for my 'gift certificates' product. Is lightbox built to be available for each and every product_info thumbnail, or can the lightbox/popup image effect be controlled for individual products? thanks..
Thanks for contribute fix, but after I follow buildingblocks's method. I clicked on image, it shows up image in self window, no lightbox effect anymore. If I replay "zen_lightbox_mootools_custom.js", "zen_lightbox_mootools_default.js" with original files, lightbox shows up, but still can't work in chrome. How can I do now?
also, I use chrome to view stevekane's pages, some of them work fine, but some still can't work. Does somebody has same situation?
Hi DarkAngel
I arrived at this link from a RSS feed (rss_feed_2-1-4) with a 'comments' link such as this (test site)
http://www.blackrunbikes.co.uk/mount...ucts&cPath=6_1
Since originaly posting I have not been able to arrive at this page from within the cart itself as yet. So maybe this page is not availble from the cart and I need to mod the RSS feeds to pioint the 'commets' link to a different page.
I have only been 'playing' with Zen Cart for a couple of weeks and still trying to find my way round it.
At no cannot work out why I have two buy now button on my product pages
http://www.blackrunbikes.co.uk/mount...&products_id=3
hi everyone,
I just installed zenlightbox and got this error message after doing the installation:
has anyone received this type of message, what can I do?Quote:
1146 Table 'bjo04327121xxxxx.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 have this problem as well...unwanted product code to the left of the main image, within the #productMainImage div eg. [wlap-potpourri]"> where wlap-potpourri is the actual product code and the rest is unwanted residual markup. Have been digging but yet to find a fix...I noticed that the upgrade to v1.3 was supposed to fix this. BTW you get to this page by entering a product review.
I'm using IH v2_0-Rev8c, zen_lightbox-v1.5-20081218, and zen-cart-v1.3.9e.
Any suggestions most welcome! Thanks for all the useful posts BTW.
Gents,
Thanks for posting the Chrome info up! I was searching for that since my site is broken in Chrome... One more issue to pan out When my products are priced by attributes I can not get the extra images to load or show up. any ideas? I am running tabbed products, and image handler 2 with the newest version of zencart
Hello all, I'm using Zencart Version 1.3.8 and for a long while I had no issues with Lightbox. For some strange reason Lightbox has stopped working in all browsers. I re-installing this mod but when I try to install the "install.sql" file I receive the following error: 1146 Table 'robbsr_zc1.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. Thanks for any help in advance.
When I first installed this mod I added the highlighted remark to the top of the install.sql file:
This little note has helped me to avoid your problem for future installs in other stores. You may want to do the same.Quote:
/**
* Zen Lightbox
*
* @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: install.sql 2008-12-17 aclarke $
*
* Frank's comment: execute this sql patch in myPhpAdmin and NOT in Zencart Admin
*/
That ofc should read phpMyAdmin :yuck:
I installed this after I installed IH2, I forgot that they shared a file in modules and have now got the lightbox installed showing in admin bit not really working correctly, when i select the larger image it opens the box but theres no image showing.
How can I correct this?
Will I need to uninstall and reinstall?
Michaela
Hello all,
Installed the Chrome fixes as noted here but I am having the same issues as ccbearyeh and the lightbox does not work. The picture opens up in the same page now and requires you to back button to the product. Any ideas? I can restore things back to the way they where, but I really would like this to work in Chrome. Mozilla is having major issues with Windows seven and memory leaks.
Has anyone been able to customize the size of the image window that pops up? Some of my uploaded pictures are quite large and they fill the screen with lightbox. Is there a way to limit how large the images are when the open?
Finally it works.
I tried mootools 1.3 / slimbox.zip fix several times without success
Then, in a snowy unsleeping night, I found in /includes/templates/CUSTOM_TEMPLATE/jscript/slimbox I had 2 files (maybe from previous unsuccessful tries?):
mootools-release-1.11.slim.js.original.slimbox
and
mootools-release-1.11.slim.js
I tried to rename mootools-release-1.11.slim.js to mootools-release-1.11.slim.js.test.backup and mootools-release-1.11.slim.js.original.slimbox to tomootools-release-1.11.slim.js
Then I tried to re-apply mootools 1.3 / slimbox.zip fix
It worked like a charm!!!! Thanks all you guys (and gals too)
Hi Guys - i've had a read through some of the back pages but i'm having trouble with this mod. It looks like its going to work - starts to show the lightbox then just opens the image full screen. I've checked, checked and checked again that the files are in the right places.
The site is www.jambaroo.co.uk
I've checked the permissions of the files too. I've had another lightbox work before which stopped working.. i thought it was the same as this one but could that be causing the issues?
When i installed the patch i tried it in zc_admin and it said 4 statements run and didn't warn that any didnt. I did also try running it through phpadmin but it said configuration_table does not exist?
Any ideas?
Ta
Jenny
1.3.9h I believe..... I tried replacing ALL files and not merging any and that didn't work.
Mod wise i'm using image handler which seems related....
I have what may be a real stupid question but I can't find the answer after an hour of searching. I added the auction mod which creates a new product display file named product_auction_info.php. The zen lightbox does not work with this file. I want to be able to add the lightbox to this page but cannot figure out how to do it. Any help would be great. Thanks.
yes they share the additional_images.php file so that one needs to be merged. Just place a ~ at the end of yours that is installed right now then upload the attached one from my working store....see if that helps..let us know.
I have mine in includes/modules/my-themes-named folder
here is the link to file: http://www.mediafire.com/download.php?bms5rl0dpxgm8fv
I told you wrong file. It is:
tpl_product_auction_info_display.php which is extremely similar to tpl_product_info_display.php. Sorry about that. They are in the templates subfolder under my current template.
Tried adding the alternative combined additional_images.php file but the same thing. It starts to open the lightbox... but then just opens the image full screen...
what is the name of your template...is it a paid for template with js scripts added? soemtimes lightbox has a problem with that type of template.
WELLLLL, I just went to your store using my pc and firefox browser...just clicked on the blue demin dress...demin-folk-flower-pocket-dress
it is showing it to me in a lighbox window
is it all images that were not working or just a few?
try clearing your cache and cookie from your browser, then open it in a new window
I seemed to be having the same issues in Chrome with Zen Lightbox not working.
I have upgraded to current zen.
What's the fix that works?
Thanks
SOLVED...had to re-write some of code now it will work either on a fresh install or upgrade.
I'm not getting it fixed as written a few pages back...
- Replaced the slimbox.php
- Downloaded the file from mootools.net and transfered the content to the 2 files in /jscript of my template.....
This is my website: PLEASE DO NOT TYPE THE NAME HERE:
http://bit.ly/hBSqns
Thanks in advance..
BTW, it does work in IE
Hi All, I've taken some time and updated Zen Lightbox to 1.6b
- Compatibility with ZC 1.3.9h
- Migrated to jQuery from MooTools
- Updated to latest slimbox 2.04
- Updated stylesheet to match latest slimbox
I've tested installing it a few times and it seems to be working OK, but I'd like a few other brave souls to uninstall ver1.5 and give it a try before loading it on the Add-Ons page.
Note: I have only tested this with ZC 1.3.9h so if anyone has ver a-g that could test it too that would be great.
hope this helps to solve the 1.5 issues.
Its too large to attach, so here is a link:
http://goo.gl/iReTy
you can see it working smoothly at:
http://luckypuppyonline.com
daniel
after I removed v1.5 and installed v1.6 my homepage still works fine, but product listing page was blank, should be something wrong made product listing page can't show up:oops:. I use sql file to remove it now.
Still thank so much for your contribution:hug:, wait for newer version.:clap:
The blank screen error is to do with options.php. When I checked the debug logs it came up with ...
So I took a look at the code and I'm not sure if its a typo but if you look around line 53 you will seeCode:syntax error, unexpected T_ELSE in /home/.../public_html/includes/classes/zen_lightbox/options.php on line 53
If you look I've highlighted the offending echo in red :D You need to move this. I'm not sure where it's meant to go or if its even meant to be there but for a quick fix I just moved it to the bottom of the file. for E.G...Code:if (ZEN_LIGHTBOX_KEYBOARD_NAVIGATION == 'true')
{
echo str_replace(' ', '', ZEN_LIGHTBOX_NEXT_KEYS);
}
echo ']';
else
{
echo 'false';
}
?>
Hope this helps :D Sorry about the long winded explanation but I find if I explain things like this it helps people debug errors in the future ;)Code:if (ZEN_LIGHTBOX_KEYBOARD_NAVIGATION == 'true')
{
echo str_replace(' ', '', ZEN_LIGHTBOX_NEXT_KEYS);
}
else
{
echo 'false';
}
echo ']';
Thanks for the info....
##############################___
Japan has opened.
gclub new model for Health called on signing. gclub sure enough.
Hey All, Sorry about the issue with the options.php file, I did some last minute edits on it and forgot to re-zip the folder.
the line echo ']'; should be the last line before ?>
I've updated the zip file with the options file updated
Here is a link to a new file
http://goo.gl/fCENH
Daniel
Kudos to Daniel for such great work and effort.
Works on a new install however if you have previous Zens...the image does appear but the next, previous, close images do not show up when trying to close the zen light box.
Frank
After I override the option.php, everything works fine.
Thanks~
Works great thanks,
I just changed the css file so the prev and next images show without the need to hover.
Removed #lbPrevLink:hover and #lbNextLink:hover and moved the call to images into #lbPrevLink and #lbNextLink like so.....
#lbPrevLink {
left: 0;
background: transparent url(../images/zen_lightbox/prevlabel.gif) no-repeat 0 15%;
}
#lbNextLink {
right: 0;
background: transparent url(../images/zen_lightbox/nextlabel.gif) no-repeat 100% 15%;
}
Hey Daniel,
Good work on this update!
Does your update works together with Image Handler latest version? I see that original ZL was compatible with it. I noticed that both addons use the same overriden file "additional_images.php". So I guessthey have to be merged?
From what I can tell, the main changes in Zen LightBox to the additional_images.php file are mainly to work with Image Handler.
The code shows lines like this:
I just did a fresh install of 1.3.9h then installed IH2 (worked fine) then I installed Zen LightBox 1.6 (including additional_images.php) and everything seems to still be working just fine!PHP Code:
if (function_exists('handle_image')) {
$flag_has_large = true;
}
daniel
Hey Niestudio,
Sorry if this was already mentioned but I could not seem to find it through all the updates. Can you explain what files need to be changed to resolve the chrome issue (when the lightbox opens and just stalls - no image). I'm using v1.5. Everything seems to work fine except for chrome.
I have a custom deployment on mine and it was a pain to get the lightbox originally installed so a clean install would be a real hassle.
Thanks,
-A
Hi A, I didn't really troubleshoot it browser by browser like that, I just started with the old scripts and looked for more current technology to update to.
I did notice during one phase of troubleshooting that I had some very old (prior to ZLB 1.5) scripts inside of includes/templates/your_template/jscript that seemed to be causing issues.
As a test you could create another folder called old_scripts inside of the jscript folder and move all but the 2 files starting with 'zen_lightbox' into that folder.
IF that works for you, and you see no other issues with your site, it may be safe to leave them excluded (in the old_scripts folder) from your site. I dont know what other extensions you may have installed, so I can't say that its safe to remove everything.
Hope this helps
daniel
Thanks Nie for your prompt response. It looks like the only jscripts i have are the two you mentioned. I guess I will just have to upload a new version. What is the most recent download link and why has it not been updated on the Zen Cart plug ins? It looks like the last zen lightbox was upload in '08?
Thanks
-A
Hi A,
this is the latest link http://goo.gl/fCENH.
I didn't update it on the plugins page yet because I figured it a little safer to have a few people test it here to see if there are any other issues to address (which we have). A few other users have successfully updated though.
let me know how it goes for you.
remember to backup just incase :)
daniel
Does anyone have a demo URL link for this lightbox system installed on a ZenCart web site ?
I'm curious to see how it works and presents on screen, before I decide on whether or not to install it.
Here is an example
Click on the larger image to see Zen Lightbox in action
What is the latest version of Zen Lightbox ? where can I download the lasest version? It is the same Between "Zen Lightbox" and "Lightbox Gallery (combined jgallery and zenlightbox)" ?
been having problems with google chrome that opening up the image. just a white box pops up with nothing in it. only Chrome does this. any help would be appreciated. thank you
ok did that now in G chrome it opens the larger image by itself.
notoriousarc.com
it opens the image in a blank page with nothing but the image
Hm, I have a question that may be a little stupid sounding, however, I'm wondering if this mod would be compatible with the Magic Zoom?
In the new 1.6 version of lightbox, Close on Overlay Click is set to False, but clicking on the overlay does indeed close the lightbox. So is there some funky about the 1.6 code for that setting? I fully removed all 1.5 files and ran uninstall.sql before installing 1.6, so my install of 1.6 should have been completely fresh and clean.
I also noticed that the mouse cursor, over the overlay, changes to a hand (like a hand over a link), whereas in 1.5 the mouse cursor did not change to a link hand over the overlay.
Anyway, developers have any comment about the click on overlay behavior (apparently) not following the setting?
In the new version 1.6 of Lightbox, neither of the following settings in Admin >> Zen Lightbox are functioning/controlling click behavior.
The reason for this appears to be because the new version of the slimbox.php file (\includes\classes\zen_lightbox) does not include the event handlers that are needed for these controls to function.
Close on Image Click
Close on Overlay Click
old code in slimbox.php:
Great product 'upgrade!'Quote:
<?php if (ZEN_LIGHTBOX_CLOSE_OVERLAY == 'true') { echo '.addEvent("click",C)'; } ?>
Hi,
i've just added light box to my zen shop www.katieallenprints.co.uk as a mod to a template - avonlee_contempo.
It works great on fire fox, ie & safari but not on google chrome!
I'm using light box 1-5 and zencart v1.3.9h
any help with this would be greatly appreciated as I realy like light box and don't want to stop using it.
Thanks
Phil
Always helpful to search through the support thread before posting an issue/question.. A fair amount of discussion has already occurred here regarding the Chrome issue along with a confirmed working solution..
Soooooo.. if you look up a few posts, you'd have see this post by frank18: http://www.zen-cart.com/forum/showpo...nt=2271:smile:
Good to know this as we weren't aware that the Zen Lightbox module even had been recently updated AND had specific code which supported IH2.. The Fual Slimbox module requires some minor file merging to work with IH2, and it was always understood that the same applied to Zen Lightbox..
Unless I am misunderstanding what I see looking at the Zen Lightbox code for the additional_images.php file, and what you posted here, CLEARLY Zen Lightbox does not require any of the IH2 files be merged.. (It looks as if all you have to do is simply overwrite the additional_images.php from IH2 with the one from Zen Lightbox and every thing works together)
Perhaps when time permits we will update the IH2 documentation accordingly to minimize any confusion going forward..
In my current setup i have the lightbox inside of an iFrame, so when i open an image everything appears fine but it centers the image to the center of the iFrame instead of the center of the entire page. This is an understandable issue but is there a way that i can manually over ride that and position the pops at a different location?? I wan to just move it from center to maybe top center, how can i do this?
Hi
I'm adding Zen Lightbox version 1.4 to a customers site which is running Zencart 1.3.7 patched with everything necessary, but haven't actually run the 1.3.7.1 upgrade. Does this matter? I notice that it says it's for 1.3.7.1 but I'd understood that as long as all the patches are installed there was no need to upgrade to 1.3.7.1 from the ZenCart perspective.
I am working on upgrading the whole site to the latest version, but my customer wants the Lightbox working first.
Thanks for any help.
Hi zenners, Happy New Year!:clap:
Today I just found that the newer version (v1.6) of Zen Lightbox for 1.3.9 was uploaded last month. So I installed it to my 1.3.9h zencart where image handler2 was already installed.
But here I got a problem! In the product description page, the lightbox function works perfectly! However the gallery mode is not working at all.
Here is the product page where I have an item with multiple 'additional images' and 'attribute swatches': https://www.jostaronline.com/index.p...&products_id=9
I have swatch images for the attributes and additional images(named according to the additional image rule) and they are listed below the main image and product description.
To troubleshoot,
1) I checked into 'Configuration - Zen Lightbox' and 'Gallery Mode' was on.2) I tried uninstall IH2.3) I also tried to merge two 'additional images.php' in 'includes/modules' from 'IH2' and 'Zen Lightbox' but they seem identical using 'Compare plug-in in Notepad++.4) I deleted IH2 image cache.5) Using keyword 'gallery' I look thoroughly into this thread and no answer related to my situation was found!Nothing seems to work for me! :no:
I've currently turned on BOTH IH2 and Zen Lightbox 1.6.
My ultimate goal for the product description page in terms images is to have:
1) additional images inside the lightbox generated by clicking the main image2) swatches to indicate which additional image corresponds to the particular color/print attribute.
Please, anybody, help me on this topic.
Many thanks in advance! :laugh:
Hi Daniel, i'm using IH2 to generate additional 'RESIZED' images. The method I use is this:
1) Assume that I have one style of clothing with five different colors(Red, Green, Brown, Pink, Navy).2) Resize all images from 3MP to 600x800px to be used as the large images(This is only resize I execute myself).3) Choose one of the five images to use as a main image(Red for example) and rename it as 'clothing_example.jpg'.4) Rename the rest of the images: 'clothing_example_Green.jpg', 'clothing_example_Brown.jpg', 'clothing_example_Pink.jpg', and 'clothing_example_Navy.jpg' with respect to images' color.5) Using FTP, upload all six images to a corresponding folder and add an item in Zen Cart Admin Page.6) Finish adding item and there are small, medium, large images that are automatically resized by IH2.
This basically is the method I use to upload images for an item I want to add.
Please advise.
Thanks :smile:
Hi Jostar,
I tried installing IH2 after zen lightbox 1.6 and I found the same issue as you describe. In your OP you said that you compared includes/modules/additional_images.php however thats not the one that gets overwritten with these addons, the one you want to compare is includes/modules/[your_theme]/additional_images.php.
If you overwrite this one with the one from zen_lightbox 1.6 you should find that you get your additional image functionality back.
Let me know if this doesnt work for you.
Cheers
Daniel
yeah, there has been some discussion recently on the IH main thread (DivaVocals) about the additional_images.php file. Lightbox seems to have the IH code built into that file pretty well. You could still merge the two files instead of total overwrite, but I always get complete functionality when overwriting the IH file w/ the Lightbox file.
Thanks, Daniel! Replacing the current additional_images.php with the one that's in the Lightbox installation folder helped me get the gallery mode working! :clap: https://www.jostaronline.com/index.p...&products_id=9
The problem was that when I was installing the Lightbox to the Zen Cart that already had IH2 installed using FileZilla, I renamed the additional_images.php from Lightbox installation to additional_images.PHPLTBX because I thought I was renaming the additional_images.php from IH2. So that was my mistake during the installation!
Here I have more questions regarding this gallery mode! :smartalec:
1) How can I change the image counter text? I'm seeing this: 'ZEN_LIGHTBOX_COUNTER_IMAGE_1 (next line)ZEN_LIGHTBOX_COUNTER_OF_14" in the gallery mode. Can I change it to something like: Image 1 of 14 or Image 1/14?2) Is there a way to use the gallery mode only for additional images instead of listing those images below the item description and attribute swatches? I actually tried to turn off the 'Show Product Additional Images' in 'Catalog-Product Types-General-Edit Layout' and this also turned off the gallery mode as well!:no:
Please advice me Daniel and many other experienced Zenners! :flex:
Best regards,
Jostar
Works great my shared host auto installed and upgraded my install I had to edit the install.sql to reflect the table names so it could install in phpmyadmin
Example
Code:INSERT INTO `zen_configuration_group` VALUES (NULL, 'Zen Lightbox', 'Configure Zen Lightbox settings', '0', '1');
UPDATE `zen_configuration_group` SET `sort_order` = LAST_INSERT_ID() WHERE `configuration_group_id` = LAST_INSERT_ID();
SELECT @cgi := `configuration_group_id` FROM `zen_configuration_group` WHERE `configuration_group_title` = 'Zen Lightbox';
INSERT INTO `zen_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, '<b>Zen Lightbox</b>', '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 />- page (EZ-P
HI Jostar,
1) look at 'includes/classes/zen_lightbox/options.php'
it seems that your code on line 23 got changed to this:
instead of this:PHP Code:
echo '"' . 'ZEN_LIGHTBOX_COUNTER_IMAGE' . ' {x} ' . 'ZEN_LIGHTBOX_COUNTER_OF' . ' {y}"';
note the quotes around ZEN_LIGHTBOX_COUNTER_IMAGE, this changes it from a variable name to a string.PHP Code:
echo '"' . ZEN_LIGHTBOX_COUNTER_IMAGE . ' {x} ' . ZEN_LIGHTBOX_COUNTER_OF . ' {y}"';
2) not sure about this one…
daniel
Having same problem! I have checked the options.php file and it correct as shown above i.e.
Ideally I would like this to read Image 1 of x etc. I have tried to change Display Image Counter in ADMIN>CONFIGURATION > ZEN LIGHTBOX to FALSE but the text still shows...Any ideas?PHP Code:
echo '"' . ZEN_LIGHTBOX_COUNTER_IMAGE . ' {x} ' . ZEN_LIGHTBOX_COUNTER_OF . ' {y}"';
Hi Rebelman & Jostar,
I looked back at the files I uploaded to the addons page and for some reason one file got omitted.
There should be and extra file in:
includes/languages/english/extra_definitions/[your_theme]
Here is a link to download it:
http://goo.gl/spdTL
Let me know if that fixes things for you.
I'm getting a ZL 1.6.1 ready, but I'd like to get as many things taken care of as possible.
Daniel
ahhhh, it's missing from 1.6. You posted a link a few days ago in this thread for the download to 1.6b2. You should really at least get 1.6b2 to the ZC downloads page because everyone who is currently downloading and installing 1.6 from the downloads page is going to be needing this file, create lots of headaches for them, and you ..
:smile: