My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
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!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!
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!
Please advice me Daniel and many other experienced Zenners!
Best regards,
Jostar
Last edited by jostar; 14 Jan 2011 at 06:06 PM. Reason: Adding URL
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 ..
![]()
Bookmarks