It actually does.. you are missing a table according to the error message
Printable View
Hi PUREchocolatetruffle,
following up on DivaVocals earlier suggestion.
If you still have the original ZLB zip file you downloaded (if not then re-download it) unzip again it so you know you have a totally fresh install.sql file.
open install.sql in a text editor:
mac - TextEdit
windows - notepad
highlight all of the text in the file and then copy it.
go to the zen cart admin > tools > install sql patches
paste the contents of the install.sql file you copied here.
click send and cross your fingers
hopefully this will work for you.
Having spent more than a week on this without joy, I would be satisfied if the prev/next buttons would sit clear above the image, as they are currently obscuring vital parts at the top of numerous images.
While I was hoping for a simple css fix, I suspect the problem lies with the nesting of #lbPrevLink and #lbNextLink within #lbImage, but the code in includes/classes/ files is way beyond my comprehension.
Does anyone else have this problem?
Help much appreciated.
Reply to post #2692
Hi Dark Angel,
Just wanted to ask again if there is such a thing of having the new lightbox show pictures one after the other, without having to close it each time (the same page you looked at before).It used to work with the old version, that's why I'm asking.
Thanks for your time.
Hi Dark Angel,
Just wanted to ask again if there is such a thing of having the new lightbox show pictures one after the other, without having to close it each time (the same page you looked at before, (not a regular product page)).It used to work with the old version, that's why I'm asking.
Thanks for your time.
Thank you very much Niestudio. However, I've already done that (several times) I think the problem is in my database (according to the image I've attached in a earlier post. I'll contact my web provider to get that fixed and then try again according to your advice as I regard ZLB as a fantastic add-on and great improvement to my online shop.
Kim
Firstly, a big, big thank you to niestudio for helping me out of my trouble when trying to install the latest version of Zen Lightbox.
Now my website is working 99%. However, I've just discovered that Lightbox suddenly doesn't work any longer on my EZ page. I've checked under Admin that EZ-page support has "true" value.
The "next" images on my EZ page now open in a new browser window where as they - before my upgrade - opened within a Lightbox frame.
Any idea how I can correct this problem ?
Many thanks in advance.
Kim
I am using Zen Cart v1.3.9h
I am having trouble displaying the images once clicked on. The Lightbox opens but no image appears. It is blank.
Gallery Link:
http://bestldcontractors.com/index.p...n_page=gallery
EZPage Link:
http://bestldcontractors.com/index.p...age=page&id=16
Can anyone offer a suggestion? Thank you in advance!
Hi Kim,
for now with ez pages you have to manually link the lightbox to your image by adding a rel tag
<a href="your_image.jpg" rel="lightbox"><img src="your_thumbnail.jpg"/></a>
if you have more than one image AND you want to have the previous and next buttons use rel="lightbox-g" instead
daniel
Thank you niestudio. I will give this a try!
Ok, niestudio, that was simple and exactly what I needed. I cannot thank you enough!
Would you happen to know if I can use with captions?
<a href="myimage.jpg" rel="here is my caption">
Where can rel="here is my caption"> be inserted?
That did it. MANY MANY THANKS!!!:clap:
Hi all i am having problems with this on firefox 4, when i click on an image there is just a blank white space, it works fine on all other browsers.
Anyone got any info on what maybe causing the problem Many Thanks
Site is in signature
Forget that last post, i was still running on v 1.5 :( i upgraded to the latest version and it now works :)
Hi guys, I newbie and I am not so understand with zen lightbox but with join this forum I came to know and understand, Thanks for all.http://freeimagestocks.com/content/20/grey.png
It's me again, sorry.
Suddenly the "Next" on my images in Lightbox have disappeared.
However, you can make it visible by moving your mouse up in the right top corner. I just doubt my customers will know that.
I've looked in various css pages but can't see how I'll get the "Next" back again.
Can you help ?
Many thanks in advance.
Kim
Hi Kim,
just want to double check that you are looking at a page with additional images when you are trying to verify the functionality of the "Always show Prev/Next buttons" Setting.
I tried to go to your site just now, but it seems to be down.
daniel
Hello.
English is not my native language and I'm probably not the smartest girl in France, so here are some *blonde* questions... :P
Question 1: I know this forum does not support purchased templates, but it would be nice to know if Zen Lightbox can mess up my template (from templatemonster.com)? I'm just asking since "overrides" sound so scary...
Questions 2: I do not understand step 4 and step 5 in the Zen Lightbox installation guide (on this site file:///Applications/zen_lightbox-v1.6.2_20110220/readme.html)....
STEP 4: "Upload the entire contents of the includes folder and the images folder to your server, again keeping the file structure intact. (Note: All files make use of the overrides system.)"
I barely know what a "server" is. But I guess this means I should upload the file to my hosts cPanel/Filemanager? If so, shall I upload it to:
/public_html ?
/public_html/includes ?
/public_html/includes/templates ?
/public_html/includes/templates/nameofmyzentemplate ?
And when the popup window asks me if I want to replace exciting files I shall press "yes"?
STEP 5: "Open phpMyAdmin for your site and navigate to your database. Choose 'Import' and then 'choose file' and navigate to and select install.sql then choose 'Go'."
Sorry, but I'm clueless where "phpMyAdmin" is, are they referring to the "admin" of the Zen Cart? Or still in my cPanel/Filemanager?
Thank you from the bottom of my heart for help! :hug:
Nina
Hi Nina :smile:
Question 1: Templates from templatemonster.com, in my opinion, should be avoided like the plague. Zen Cart mods/addons are designed to work with and enhance Zen Cart functionality - therefore they rely on Zen Cart's core code being intact and functional.
Often times, templates from templatemonster.com are tweaked for design purposes without regard for functionality. In other words, they are all about how Zen Cart looks, rather than how it works. In my opinion, they are only good for Zen Cart shops that are operated "out of the box" with no changes, customizations or addons installed. Even then...they're only good for a time because they don't make use of the override system - meaning that these templates often have changes that will be lost when you update to a new version of Zen Cart.
I can't say whether or not this mod will have problems with your template, but at some point, something you do to Zen Cart - whether it's an upgrade to a new version, a customization that you make, or an addon that you install - at some point, something will you do will probably break your template and/or your cart if you use a template from templatemonster.com.
Recommend you select a template from the Zen Cart template gallery instead. If you can't find one you like, you have two choices. You can either select one that's as close as you like and then learn to modify it to your liking, or pay someone familiar with Zen Cart templates to design one for you. There is an area on the forum where you can request the paid services of others.
I understand the override system sounds scary and overwhelming to those new to Zen Cart, but it is absolutely critical that you learn about and use the override system - otherwise, customizations that you make to your store (including template changes) will be lost when you upgrade to a new version of Zen Cart.
The server refers to the computer your hosting company uses to store your website - so yes, you access your server through your cPanel, and yes, your files are located in the Filemanager.
Regarding where to upload the files, that depends on where you installed your Zen Cart. Usually, the file path will be something like this:
If you installed your store on the root of your server as your entire website, it might look like this:
/public_html/YourStoreNameFolder/includes....etc, etc...
or, if you installed your store inside the folder of an existing website on your server, it might look like this:
/public_html/your_website_name/your_store_name_folder/includes...etc, etc...
No. You want to make use of the override system instead.
phpMyAdmin can be found in your cPanel. Navigate to your database means to click or double click on your Zen Cart database to open it. Many hosting companies offer tutorials on how to use phpMyAdmin for those unfamiliar with it.
Lastly, you will encounter these same steps with any mod/addon that you choose to install - so I strongly encourage you to learn as much as you can about Zen Cart and the Override System.
Here are some links to get you started:
- Understanding the Override System
- The Override System really simplified
- How do I set up the Template Overrides?
- Overrides Chart
Good luck and happy Zenning :smile:
FRENCH TRANSLATION BELOW
A blonde French girl, huh, boy, you are breaking my heart :P. Okay, here goes. Number one, the previous post cautioning you about template monster is good advice. That being said, I know of an expert programmer and zen cart template designer who has several amazing free templates on her website, and if you ever need any help in future upgrades, she will be able to help you. Her Facebook name is Picaflor Azul, and her website is http://picaflor-azul.com/. If you would like to see one of her templates on a real site, you can see her template "Andover Modern" on my website which is: http://martialartsoutpost.com/. Now on to the help part.
DON'T MAKE ANY CHANGES BEFORE DOING A BACKUP OF YOUR STORE AND DATABASE - INSTRUCTIONS BELOW
If your zen cart is in a sub-directory of the public_html folder, say for example in a folder named "shop" then go directly to the steps below. IF it is installed LOOSE in your public_html directory, download a copy of the zen cart installation you have from the download area on this website to your local hard drive, then extract the contents and put them into a folder and open it in list view, that way you will have a working model showing you exactly which files you need to back up. Then open your cPanel>File manager and navigate to your public_html folder. Create a new folder called shop or store or something. Select ALL of the zen cart files using the previously downloaded files as your model for which files to back up. Once you have them selected, choose the Move command at the top of the screen. Move all of the files into the folder you just created ( public_html/shop ) temporarily just for the purpose of doing the following backup. Once you complete the backup, reverse the process by navigating into the public_html/shop folder, selecting all the files, and moving them back UP to the public_html directory.
BACKUP INSTRUCTIONS
1) Make a backup of your store and database by following these steps ( there are other ways, but I find this to be the quickest and easiest).
a) Log into your cpanel
b) Find "File Manager", open it, and locate the directory ( folder ) your zen cart is installed in
b) Select the entire folder by either clicking on the checkbox to the left of the folder name, or if you have the latest version of cpanel, you will select the folder by clicking on it directly ONE time.
c) In the upper right corner of your screen, you will see that the icon for the word "Compress" is now active
d) Compress your store directory by clicking on this icon and choose the .zip option as it is the most common and accessable, don't worry, it's making a compressed COPY of your store and will leave the original directory intact.
e) When the compression is finished, scroll down and find the compressed file you just created, click on it once, and in the upper left side of you screen, click on "Download" and download it to your computer.
f) Go back to your main cpanel and scroll down until you find an application called "PHPMyAdmin", it should be around 3rd from the bottom; click on it once, and you will be taken to your database (s).
g) Find your zen cart database, it should look something like "_zc1" with something else as the prefix. For example, if your username is nina, it might look like "nina_zc1"
h) Click on the -zc1 portion of it ONCE. A bunch of stuff will pop up in the right side of the window.
i) Look at the tabs at the very top, and locate the one that says "Export". Click on it ONCE, a new window will appear.
j) The default settings in the new window should be showing all the database tables selected, you will see a bunch of table names highlighted dark gray. Make sure the default export format is "SQL"
k) Scroll to the bottom, and check the "Save as file" box, and choose "ZIP" for the compression format
l) On the lower right you will see a button that says "GO" click it once, and this will start your sql database download.
Once you have finished this process, you have successfully backed up your shop and database, and it will not matter if you corrupt the template, since you can always re-upload your original files and start from scratch. I recommend you follow this process every time you make significant changes to your store, as servers have a way of getting corrupted or going out of services at the worst possible moment.
Now on to the upload. IF your zen cart is installed LOOSE in your public_html folder, you will upload all files to that folder. IF it is installed in a sub-folder, say for example "public_html/shop". You will upload all files into that sub-folder.
Making use of the overrides system simply means that all of the files will magically go into their correct folders and sub-folders, adding files where needed, leaving the rest of the files intact, and overwriting existing files that have the same name, so yes, you will need to press "yes" to replace existing files.
Since you did the backup already ( you did didn't you :no: ) you are now familiar with how to get to PHPMyAdmin. Retrace the steps above to get to your zen cart database in PHPMyAdmin, and this time choose the "Import" tab to import the database tables you need for your lightbox.
I'm going to run this post through Google translate to maybe make it easier for you to read. I am also going to do a Camtasia movie of this whole process and post it in a little while so you can actually see the process.
TRANSLATION BELOW
Une jeune fille blonde française, hein, mon garçon, vous brisez mon coeur! :P D'accord, allons-y. Premièrement, le post précédent vous garde sur Monster modèle est de bons conseils. Cela étant dit, je connais un programmeur expert et concepteur du modèle Zen Cart qui a plusieurs étonnant modèles gratuits sur son site, et si jamais vous avez besoin d'aide dans les futures mises à jour, elle sera en mesure de vous aider. Son nom est Picaflor Facebook Azul, et son site est http://picaflor-azul.com/. Si vous voulez voir un de ses modèles sur un site réel, vous pouvez voir son modèle "Andover moderne" sur mon site qui est: http://martialartsoutpost.com/. Passons maintenant à la partie de l'aide.
NE PAS FAIRE DES CHANGEMENTS AVANT DE FAIRE UNE SAUVEGARDE DE VOTRE MAGASIN ET BASE DE DONNEES - INSTRUCTIONS CI-DESSOUS
Si votre panier zen se trouve dans un sous-répertoire du dossier public_html, disons par exemple dans un dossier nommé "shop", puis aller directement à la procédure ci-dessous. S'il est installé en vrac dans votre répertoire public_html, télécharger une copie de l'installation Zen Cart vous avez de la zone de téléchargement sur ce site sur votre disque dur local, puis extraire le contenu et les mettre dans un dossier et l'ouvrir en mode liste, de cette façon vous aurez un modèle de travail, vous montrant exactement quels fichiers vous avez besoin de sauvegarder. Ensuite, ouvrez votre> cPanel Gestionnaire de fichiers et de naviguer dans votre dossier public_html. Créer un nouveau dossier appelé boutique ou le magasin ou quelque chose. Sélectionnez TOUS les Zen Cart fichiers en utilisant les fichiers téléchargés précédemment en tant que votre modèle pour lequel les fichiers à sauvegarder. Une fois que vous les avez sélectionné, choisissez la commande Déplacer en haut de l'écran. Déplacez tous les fichiers dans le dossier que vous venez de créer (public_html / shop) temporairement seulement pour le but de faire la sauvegarde suivante. Une fois que vous avez terminé la sauvegarde, d'inverser le processus en naviguant dans le dossier magasin public_html /, en sélectionnant tous les fichiers, les déplacer et de retour au répertoire public_html.
INSTRUCTIONS DE SAUVEGARDE
1) Faire une sauvegarde de votre magasin et base de données en suivant ces étapes (il ya d'autres façons, mais je trouve que c'est plus rapide et le plus facile).
a) Connectez-vous à votre cpanel
b) Trouvez "File Manager", ouvrez-le et recherchez le répertoire (dossier) votre panier zen est installé dans
b) Sélectionnez l'intégralité du dossier soit en cliquant sur la case située à gauche du nom du dossier, ou si vous avez la dernière version de cPanel, vous sélectionnez le dossier en cliquant dessus directement UNE fois.
c) Dans le coin supérieur droit de votre écran, vous verrez que l'icône du mot «Compress» est maintenant
d) Compressez vos répertoire de stockage en cliquant sur cette icône et choisissez l'option zip. car il est le plus commun et accessible, ne vous inquiétez pas, cela fait une copie compressée de votre magasin et laisser le répertoire d'origine intact.
e) Lorsque la compression est terminée, faites défiler vers le bas et trouver le fichier compressé que vous venez de créer, cliquez une fois dessus, et dans le coin supérieur gauche de votre écran, cliquez sur "Télécharger" et téléchargez-le sur votre ordinateur.
f) Revenez à votre cpanel principal et défiler vers le bas jusqu'à ce que vous trouverez une application appelée "PhpMyAdmin", il devrait être autour de troisième à partir du bas, cliquez une fois dessus, et vous serez dirigé vers votre base de données (s).
g) Trouver votre base de données Zen Cart, il devrait ressembler à quelque chose comme "_zc1" avec autre chose que le préfixe. Par exemple, si votre nom d'utilisateur est nina, il pourrait ressembler à "nina_zc1"
h) Cliquez sur la partie-ZC1 d'une fois. Un tas de trucs apparaîtra dans la partie droite de la fenêtre.
i) Regardez les onglets tout en haut, et de localiser celui qui dit "Exporter". Cliquez une fois dessus, une nouvelle fenêtre apparaîtra.
j) Les réglages par défaut dans la nouvelle fenêtre devrait apparaître toutes les tables de base de données sélectionnée, vous verrez un tas de noms de table en surbrillance gris foncé. Assurez-vous que le format d'exportation par défaut est "SQL"
k) Faites défiler vers le bas, et cochez la case "Enregistrer en tant que fichier", et choisissez "ZIP" pour le format de compression
l) En bas à droite vous verrez un bouton «GO» cliquez une fois dessus, et cela va commencer votre téléchargement de bases de données SQL.
Lorsque vous avez terminé ce processus, vous avez réussi à sauvegarder votre boutique et base de données, et il ne sera pas grave si vous corrompre le modèle, puisque vous pouvez toujours re-télécharger vos fichiers d'origine et recommencer à zéro. Je vous recommande de suivre ce processus chaque fois que vous apportez des modifications importantes à votre magasin, que les serveurs ont une façon de se sortir corrompu ou des services au pire moment possible.
Passons maintenant à l'upload. Si votre panier zen est installé en vrac dans votre dossier public_html, vous pourrez télécharger tous les fichiers dans ce dossier. S'il est installé dans un sous-dossier, dire par exemple "public_html / shop". Vous pourrez télécharger tous les fichiers dans ce sous-dossier.
À l'aide du système de dérogations signifie simplement que tous les fichiers comme par magie se rendre dans leur dossiers corrects et sous-dossiers, l'ajout de fichiers en cas de besoin, en laissant le reste des fichiers intacts, et écraser les fichiers existants qui ont le même nom, alors oui , vous devrez appuyer sur "oui" pour remplacer des fichiers existants.
Puisque vous n'avez déjà la sauvegarde (vous ne ne vous ai pas :no: ) vous sont maintenant familiers avec la façon de se rendre à PHPMyAdmin. Retracer les étapes ci-dessus pour accéder à votre base de données Zen Cart dans PHPMyAdmin, et cette fois, choisissez "Importer" onglet pour importer les tables de base de données dont vous avez besoin pour votre panier.
Okay, I've made a Camtasia recording of the backup procedure outlined above. You can watch it at:
http://www.youtube.com/watch?v=bc3MGdLHpdY
I'm sure there are other ways to do this, so the rest of you feel free to comment.
In my video, you will see me backing up a lot of files you you probably don't have, that's because I've made so many modifications to my zen cart.
Hi all
I discovered that certain error messages returned through faulty customer input are being displayed in zen lightbox format, rather than directly above the page content, where they displayed prior to installing this mod. I have found this mostly occurs when the customer neglects to select a required option on a product page.
Is there an admin switch or code change to restore the pre-installation arrangement.
Thanks in advacne.
[139h localhost setup]
I have installed this on several bought templates and it was no walk in the park...many problems and if you ask the site that you bought the template from to do it for you is where they make their money...they charge you a lot to do it for you since they have reworked the coding of the original files to suit their purposes.
If possible do get a template from here and add modification to get the features you like from the other one.
You do not rename the zipped items to upload them to your server---they are renamed to make the uploading of the files to the proper places is correct. So no you do not want to click yes or the other files will disappear---a mistake I too did in the beginning.
So even merging the files could give you errors that will be harer to fix.
Thanks you so much for great answers ScriptJunkie, sigung and DarkAngel!! *Free hugs* for you :hug: I'm so grateful that you would answer me, I even considered quitting Zen Cart and just stick to ETSY since I'm such a newbie and things are too complicated for me, but it looks brighter now. :smile: I'll do the backup and try to install the light-box this evening...
One question I forgot to ask was concerning step 4: "Upload the entire contents of the includes folder and the images folder to your server, again keeping the file structure intact." How can I manage to "keep the file structure intact"? I've unzipped the ZIP in my MAC. When I'm at the File Managers upload page, my pointer won't let me choose the entire "includes" and "images" folds, so shall I create two new folders where my zencart is located in the Filemanager and call the folders "includes" and "images" and then create and name the sub-folders within them and then upload all the files one by one into them in the same place/order they are in the ZIP file?
Hi Nina :smile:
Many times when I was new to Zen Cart, I felt overwhelmed and like giving up. But thanks to the wonderful people in the Zen Cart community and all the help I got on the forums, I stuck with it. And it is very worth it! I think one day you will feel the same :smile:
Regarding uploading....You should NOT have to create new folders, as the folders for Zen Cart are already in place. Creating new folders will only break your cart.
Suggest you download and install a file upload program like FileZilla for Mac. This is a free program that will allow you to upload files while keeping the file structure intact.
Below are links to the instructions on how to configure FileZilla once you have it installed on your Mac. Once you have it configured, you can begin using it to install your files.
Written Instructions
YouTube Video Instructions
The video is probably easier to follow and understand :smile:
Good luck & happy Zenning :smile:
Never knew there was a version of Filezilla for the Mac.. (note to self)
That said wanted to also suggest Cyberduck for FTPing on the Mac. IMHO, it was very close in functionality to Cute FTP for the PC..
http://cyberduck.ch/
Also gonna make a GENERAL suggestion.. It's great that everyone is pitching in ideas, but the support thread for Zen Lightbox is NOT the correct place for providing general information on FTPing, and other general Zen Cart how-tos.. Perhaps this discussion should be moved to a NEW thread as this discussion is a tad off topic at this point..
Yes, the file manager in cPanel can be problematical. Here is how you can get around the one file limitation of cPanel.
1) Using the cpanel file manager, upload the ORIGINAL zip file - NOT UNZIPPED - to your zen cart main directory - do NOT unzip it prior to upload The cPanel file manager sees the zip file as ONE file, so you have now worked around uploading all the files at once.
2) Once you have uploaded the zip file, select it, and then using the "Extract" icon on the top of your file manager window, extract all the files. When this is finished, you will have a new folder named "zen_lightbox-v1.6.2_20110220" (Note: you may have to hit the "Reload" button if you can't see the new folder, this will refresh the view in file manager) Navigate into this folder and delete these files:
_readme_files
readme.html
install.sql
uninstall.sql
upgrade.sql
3)You should now have ONLY two folders and one file:
images
includes
jscript_zen_lightbox.php
4) Using your cpanel file manager, click on "select all" and then on the left side use the "Move File" button and move the files up one directory into your main zen cart directory. At some point you will be asked if you want to overwrite the existing files, and your answer should be yes.
This will finish the upload part of your installation. You can now remove the empty folder and the zen_lightbox_1-6-2.zip file that you originally uploaded just to clean things up a bit.
Now complete your installation using phpMyAdmin from your cPanel as per instructions in my previous post. and you have completed your installation.
One more thing. I think the FileZilla thing is great too. The only reason I use cPanel exclusively now is that uploads seem to go much faster for me than with my ftp client, and there is a lot of functionality in the file manager application that puts a lot of power at your fingertips such as compression, extraction, moving files, and editing files right on the server. I personally find it easier to have all of the functionality I need right in one window, and being able to utilize the very fast speeds of the servers for all the functions I need to accomplish. My server has just been upgraded at my hosting company, it has 16 cpus, a buttload of RAM, and it's really fast. This just makes my zencart work a whole lot easier, but as you can see, there are some limitations as to how cpanel handles files, that workarounds are needed sometimes, so you should consider whether an ftp client such as FileZilla might be easer for you to use...just a thought:blink:
a fellow mac user...yay
yes there is a filezilla for the newer macs I use transmit cause it still works on the Panther version of Mac OS
when you upload the files do as they say...only the files to the includes/file target folder/then the file.
or if you want to just drag/drop the file from where you unzipped it to the destination folder just remember to load the file to its new home that has the exact name as the one on your desktop or whatever folder you saved the unarchived zip into.
I'd like for Zen Litebox only to work on the additional images. How can I do this? :smile:
Good afternoon all
I have a code suggestion for the autoload_default.php
on line 23 there is a <style> it would be better to change this to <style type="text/css"> it gives a validation warning
I cannot locate <script> in my autoload_default.php file. I only have one such file: /includes/classes/zen_lightbox/autoload_default.php.
Here's my immediate problem. I just upgraded to Firefox 4.0.1 and now my lightbox has ceased to function! When the image is clicked, it just opens a blank box - no image, no buttons... nothing. Is anyone else having this problem?
Thanks!
I don't think you can get it to work ONLY on additional images, but to get it to work with additional images, here's the tutorial
https://www.zen-cart.com/tutorials/index.php?article=58
I found the problem! Upgraded Zen Lightbox to latest version and the problem went away. - Thanks!
Thank you so much for the excellent support threads. This solved my problem and now I can go to bed!
My main product images are not displayed, could someone help pls
http://bit.ly/m1zDtm
Thanks
Solved the issue.
over write main_product_image and its working now.
Does anybody know if there are any other extensions out there for just additional images and that is similar to zen lightbox? :smile:
I don't believe there is. What most folks do when they're looking for a mod is go to the free addons section and browse through the listings of what's available. It can be time consuming to look through them all, but it comes down to how badly you want it.
Hi Everyone,
ZC 139h
ZLB 162
IH3
I noticed something wonky on one of my review pages and I honestly don't know if it's connected to ZLB or not. But, since the wonkiness appears around the main product image, I thought this would be a good place to start. If the issue is not related to ZLB, please let me know.
When a product has a model number, the model number plus some html syntax appears to the left of the main product image - but only on the product review page - nowhere else (because the "display model number" is set to "off" in Admin>>Configuration>>Product Listing)
If the product has no model number, the issue does not exist.
Below are links to example pages
Product has model number
Product has no model number
Thoughts?
Oops! My bad :blush: Here's the temp fix for the issue below. It will solve this issue until the permanent fix comes out in the next release.
Thanks Daniel!
Okay, thank you! :cool:
Actually Lightbox is not for HTML content, but slimbox was actually based off that when it was being developed. I know that for a fact. Now, It's just a matter of whoever can figure it out first. :lookaroun
Hi ZC user, I have BIG problem end I will by very hapy if I get some help.
I have install Zen Lightbox end pictures in botom of page are not show in Mozila Firefox.
In IE end Opera are show. What to do???
End whan I turn off Zen Lightbox in admin panel, thet pictures in botom of page don't show at all.
:blush:
LINK to see:
Zen Lightbox is ON
three images at the bottom of the page in brown framework
http://kavanali.com/zencart/index.ph...roducts_id=208
Thanks...
Firefox 4.0.1
zen_lightbox-v1.5-20081218
you might upograde to lightbox V6 and as for Firefox...that new way they put the browser together has been making many things look broken when it is not.
In version 3.6.17 it looks like it should with the images at the bottom.
FF4 seems to also make image handler not work right too
I have download 1.6.
I delete 1.5.v (all files on server) end in admin SQL Query Executor: run uninstall.SQL file
I upload all files of 1.6.
in admin SQL Query Executor: run install.SQL file
End get message:
1146 Table 'kavanali_zencart.configuration_group' doesn't exist
in:
[SELECT @cgi := configuration_group_id FROM configuration_group WHERE configuration_group_title = 'Zen Lightbox';]
What to do?
End get message:
1146 Table 'kavanali_zencart.configuration_group' doesn't exist
in:
[SELECT @cgi := configuration_group_id FROM configuration_group WHERE configuration_group_title = 'Zen Lightbox';]
What to do? :blush:
Please help!
We've discussed this quite a bit recently, see if this post helps you
i read a lot of posts (until the 100....) but didn't find the answers i am looking for so i am posting my own. i have a fresh install of zen. got a crista_violet template that works fine. successfully installed image handler 3 and lightbox but only image handler is working fine. photos in the product page still use the old style image pop-up.
this is the link to the page: http://onlydeals.freehostingcloud.co...&products_id=1
other things i did to merge the use of lighbox and image handler 3 (i got it from the misc instruction of the image handler)....
Zen Lightbox - Replace the additional_images.php from Image Handler3 with the one that comes with Zen Lightbox. (Zen Lightbox has included all the merged code required for Zen Lightbox and Image Handler3 to work well together)
and this i did (taken from this link: http://www.zen-cart.com/forum/showth...45314&page=186)
do the setting show in the configuration column?
did you set it to true so it will know to work?
if yes then open the zip and go to your server files and make double sure you put everything into the right spot...if you are using ANY template other than classic you need to create a folder with that templates name in the fodler where it is indicated (your_template folders or custom folders) that will tell you that you need to place those files in there.
like in the includes/languages/english/extra_definitions/your_template
you need to create a fodler in that extra_definitions folder with your templates name and place the file into it....so if your template is mostlygrey you create a fodler called mostlygrey and plop the contents of the "your_template" folder into it.
and still lightbox effect doesn't show. what seems to be missing?
any help is appreciated. thanks for a wonderful zen forum support.
Below is a list of the stylesheets you are using (pulled from your sourcecode).
Note that your Zen Lightbox stylesheet is not listed. Suggest checking your install to make sure all your files have been uploaded, and are where they need to be.Code:<link rel="stylesheet" type="text/css" href="includes/templates/crista_violet/css/style_imagehover.css" />
<link rel="stylesheet" type="text/css" href="includes/templates/crista_violet/css/stylesheet.css" />
<link rel="stylesheet" type="text/css" href="includes/templates/crista_violet/css/stylesheet_css_buttons.css" />
<link rel="stylesheet" type="text/css" media="print" href="includes/templates/crista_violet/css/print_stylesheet.css" />
do i have to change the configure.php to the one noted...like zen instead of znc? i am confused.
i will check again the stylesheets and the installation i made if i forgot something. thanks for all your help.
ok..i need to clarify again these instruction...i probably misinterpreted this: if yes then open the zip and go to your server files and make double sure you put everything into the right spot...if you are using ANY template other than classic you need to create a folder with that templates name in the fodler where it is indicated (your_template folders or custom folders) that will tell you that you need to place those files in there.
like in the includes/languages/english/extra_definitions/your_template
you need to create a fodler in that extra_definitions folder with your templates name and place the file into it....so if your template is mostlygrey you create a fodler called mostlygrey and plop the contents of the "your_template" folder into it.
i did open...includes/languages/english/extra_definitions and i don't have the template i am using. so i did copy from my original download file (RAR) and pasted it there. and the lightbox is still not working. i must have misunderstood what was written. could anyone please explain this plainly and clearly.
thaanks a lot!
Hi elainben,
When you install any mod, anytime you see a folder in the download package called "YOUR_CUSTOM_TEMPLATE" - it is telling you that you will need to create a folder in that same location on your server and name it to match your template.
So, using the example you provided - you will need to create a folder in:
includes/languages/english/extra_definitions
and call it crista_violet so that it looks like this:
includes/languages/english/extra_definitions/crista_violet
Once you have done that, upload the file from:
includes/languages/english/extra_definitions/YOUR_CUSTOM_TEMPLATE
to:
includes/languages/english/extra_definitions/crista_violet
What you are doing when you do this is making use of the file override system. It is extremely important that you use and understand the override system. If you don't, then all your customizations will be lost when you upgrade your zen cart to the next version once it becomes available.
Suggest reading the following before you do anything else with your cart:
Understanding the override system
and
The override system really simplified
After you've read those, download this to keep for future reference.
Good luck and happy zenning :smile:
you need to change the sql installation file to have that as part of the coding for it to work or go to myphpadmin for installing directly into the database if you can't get it to work in admin of store
there are 4 places to change---see in red
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
If anyone is interested I have managed to find that it was the Zen Lightbox module I had installed. The javascript called in the header for the light box, stops the plusone button rendering....
Any ideas why or how? I now have lightbox turned off, but I did like it and would like both.
I NEVER use upload.. Only copy/paste.. Works every time..
Should be NO reason why anyone would need to manually modify this script and run it in phpAdmin.. That said making the changes you suggest will only work if you run if you are running the script in phpAdmin.. If you add the prefix as you suggest and run the script in the store admin, the script will fail or cause errors.
I had the problem with failed sql upload when installing from version 1.5 to 1.6, so think about doing an UNINSTALL from 1.5 using the uninstall.sql before you do install v1.6.:D
that being said, i have a question: in v1.6 the label images are now under /images and only available in english. i have the labels in french and german in the /templates/MY_TEMPLATE_NAME, but that is not helping - in the french or german version, i still see the close/previous/next labels in english.
Any hint to how to fix this? :dontgetit
thanks a bunch!:smile:
Further to http://www.zen-cart.com/forum/showpo...postcount=2703
here is my solution to move the Prev/Next buttons clear above image and then restore truncated bottom of image.
includes\classes\zen_lightbox\autoload_default.php
Line 23 was
<?php if (ZEN_LIGHTBOX_CLOSE_IMAGE == 'true' || ZEN_LIGHTBOX_PREV_NEXT == 'true') { echo '<style> #lbPrevLink, #lbNextLink {display: block; position: absolute; top: 0; width: 63px; height:32px!important; outline: none;} #lbNextLink {right: 0; background: transparent url(images/zen_lightbox/nextlabel.gif) no-repeat 100% 15%;} #lbPrevLink {left: 0; background: transparent url(images/zen_lightbox/prevlabel.gif) no-repeat 0 15%; } </style>';}?>
now (note the minus sign)
<?php if (ZEN_LIGHTBOX_CLOSE_IMAGE == 'true' || ZEN_LIGHTBOX_PREV_NEXT == 'true') { echo '<style> #lbPrevLink, #lbNextLink {display: block; position: absolute; top: -32px; width: 63px; height:32px!important; outline: none;} #lbNextLink {right: 0; background: transparent url(images/zen_lightbox/nextlabel.gif) no-repeat 100% 15%;} #lbPrevLink {left: 0; background: transparent url(images/zen_lightbox/prevlabel.gif) no-repeat 0 15%; } </style>';}?>
includes\templates\YourTemplate\css\stylesheet_zen_lightbox.css
was
#lbImage {
position: absolute;
left: 0;
top: 0;
border: 10px solid #fff;
background-repeat: no-repeat;
}
#lbPrevLink, #lbNextLink {
display: block;
position: absolute;
top: 0;
width: 50%;
outline: none;
}
now
#lbImage {
position: absolute;
left: 0;
top: 22px; /* 0 */ /* May need to be increased to 32px to clear border thickness, if coloured differently. */
border: 10px solid #fff;
background-repeat: no-repeat;
padding-bottom:12px; /* added to restore bottom of image */
}
#lbPrevLink, #lbNextLink {
display: block;
position: absolute;
top: -32px; /* 0 */ /* Note the minus sign */
width: 50%;
outline: none;
}
Hope this helps.
I just uploaded zen lightbox and am having issues with getting it to run. I've uploaded the files to the correct places. I've created the custom folders. I wasn't able to copy and paste the sql files for some reason (I never have been able to do that), but I did have my server guy install the sql patch directly. Zen Lightbox is showing up under my Configuration in zen admin, but when I click on it I get taken to a blank page that states Zen Lightbox at the top, but no install options. What went wrong?
Disregard. Apparently, nothing further has to be done. I just clicked on some images and they come up in the lightbox. Should have checked sooner. I just didn't expect it to be that simple.
Sorry but if you see nothing on that config page then i think there is still something wrong, even if it is working.
I would go to the server and manually check each and every folder to ensure all go loaded into the right spot.
Once the files have been uploaded and the sql installed then you should see its settings page...to change colors and such if you want to match your template and to turn it on.
a link also is always helpful to getting even better knowledged peeps in here
Hi,
If you want to manage multiple language support for Zen Lightbox I made some changes in code.
Feel free to use the following attachment.
Of course, you need to duplicate all english directories of the module in the same place with the correct language name you use.
In the new language directories, make changes as necessary (texts and images).
Files changes:
includes\classes\zen_lightbox\autoload_default.php
includes\templates\template_default\common\html_header.php
***********
* WARNING *
***********
html_header.php come from v1.3.9h (I haven't test it because I still use a previous zen-cart version)
If you still use a previous zen-cart version, do not use html_header.php included in the attachment, but you can just add the folowing code in the file includes\templates\template_default\common\html_header.php like you can see in the attachment:
<?php
/**
* load all template-specific stylesheets, named like "style*.php", alphabetically
*/
$directory_array = $template->get_template_part($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^style/', '.php');
while(list ($key, $value) = each($directory_array)) {
$tmpcssdyn = '<script language="javascript" type="text/javascript"><!--'."\n";
$tmpcssdyn .= 'document.writeln(\'<link rel="stylesheet" type="text/css" href="' . $template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'css') . '/' . $value . '?charset=' . CHARSET . '&language=' . $_SESSION['language'] . '" />\');'."\n";
$tmpcssdyn .= '//--></script>'."\n";
echo $tmpcssdyn;
}
File deleted:
includes\templates\YOUR-TEMPLATE-FOLDER\css\stylesheet_zen_lightbox.css
File added:
includes\templates\YOUR-TEMPLATE-FOLDER\css\stylesheet_zen_lightbox.php
Enjoy ;)
Jacques from France
not sure what you mean there... en francais?! ;)
thanks for the contribution ... I have installed your mod but as a result no window will open at all, all languages the same issue (have now reverted to the previous status)
Does the html_header change to make has to be in the template_default? can it not be in my shop template (YOUR-TEMPLATE-FOLDER)?
merci!
Yes, you right !!! It's my first contribution, and I forgot this recomendation because I do this in my development. Sorry about it !
So You have to put html_header.php in includes\templates\YOUR-TEMPLATE-FOLDER\common\html_header.php
I'm sorry I leave this version for 1.3.9h without testing. It should work but I don't have time to install 1.3.9h and test it.
I too had problems upgrading from 1.5 to 1.6.2 with the upgrade script, error message stated something along the lines of DUPLICATE_KEY PREV_SOMETHING.....
To resolve this I simply ran the uninstall script from 1.5 and then the install script from 1.6.2.
Hope that's helped somebody!