Zen Cart Logo
Forums / All Other Contributions/Addons / Zen Lightbox addon [Support Thread]

Zen Lightbox addon [Support Thread]

Views: 953,116

Results 1,281 to 1,300 of 3,722
23 Jan 2009, 11:50 PM
#1281
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Zen Lightbox addon [Support Thread]

maxreefer:

Quick question:
I would like to implement this great feature ONLY on my EZ pages.
Is this possible?

If it is which files to copy and which ones not.

Thanks for your help
Michael

This should be possible by installing Zen Lightbox as normal and then deleting the following files.

includes\modules\pages\document_general_info\jscript_zen_lightbox.php
includes\modules\pages\document_product_info\jscript_zen_lightbox.php
includes\modules\pages\product_free_shipping_info\jscript_zen_lightbox.php
includes\modules\pages\product_info\jscript_zen_lightbox.php
includes\modules\pages\product_music_info\jscript_zen_lightbox.php
includes\modules\pages\product_reviews\jscript_zen_lightbox.php
includes\modules\pages\product_reviews_info\jscript_zen_lightbox.php
includes\modules\pages\product_reviews_write\jscript_zen_lightbox.php
includes\modules\YOUR-TEMPLATE-FOLDER\additional_images.php
includes\templates\YOUR-TEMPLATE-FOLDER\templates\tpl_modules_main_product_image.php

Now, Zen Lightbox will only work on EZ-Pages!

23 Jan 2009, 11:51 PM
#1282
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

games4gamers:

I've uploaded all the files and ran the SQL patch and now I get no display for a product listing. Example here:

http://games4gamersonline.com/zencart/index.php?main_page=product_info&cPath=174_177_213_231&products_id=790

If I replace tpl_modules_main_product_image.php with the pre-Lightbox version, it works fine (albeit w/o LB support). Any help? Thanks...

It looks like you're using the Cherry Zen template.

Other users have reported issues with Zen Lightbox and this template. I believe the tpl_modules_main_product_image.php file is used by both the template and Zen Lightbox.

If you merge the two files together (the one distributed with Zen Lightbox v1.5 and the one distributed with the template) that should resolve your issue.

I think there is a fix floating around in the Cherry Zen support thread.

v1.6 will include support for the Cherry Zen template.
I can always code the fix now, for a small fee. If you're interested please PM me.

23 Jan 2009, 11:53 PM
#1283
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

Grace38:

Just a quick question.

I am running Lightbox 1.4 and it works just fine.

What would be the benefits of upgrading to 1.5 ?

Sorry if thats a dumb question but i'm wondering if it's worth waiting for 1.6 instead of updating a module that already works great at the moment.

v1.6 includes many updates and fixes.

Slimbox is now used and the output code has been reduced by over 50%. I pretty much re-wrote Zen Lightbox v1.4 from the ground up as v1.4 was very old and messy in places!
v1.6 will include many new features and a few fixes, but I recommend upgrading now.

Upgrading from v1.4 to v1.5 pretty much requires you to uninstall the old version and then install the new version (i.e. delete a load of files and upload the new ones). However, the v1.6 upgrade should simply involve uploading new files (i.e. there's no need to manually delete the old v1.5 files).

As VisExp pointed out, more admin options are available and the lightbox effect can now be used on any page of your website!

23 Jan 2009, 11:54 PM
#1284
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

VisExp:

Well I figured out why Lightbox 1.5 was not working for me, which is pretty amazing considering how clueless I am :D

I am running Slideshow 2! on my main page and I had the code for that embedded in includes/templates/template_default/common/tpl_footer.php

Well it seems like Lightbox 1.5 and Slideshow 2! don't play nice together. So I moved the code for Slideshow 2! into includes/languages/english/html_includes/MY TEMPLATE NAME/define_main_page.php and voila everyone's getting along fabulously :D

Just thought I would post this in case it helps anyone.

Great news!

Sorry for not replying sooner - I wasn't ignoring you! :P

Thanks for posting the Slideshow 2 fix that worked for you. If more users run into issues with Slideshow 2 and Zen Lightbox I can always add a fix to v1.6 to address this.

23 Jan 2009, 11:55 PM
#1285
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

CharInLasVegas:

Still can't get this to work, and on a clean vanilla install of zc.

I have no idea what to do :(

I just tried it from phpMyAdmin and got this error, which I guess is the same thing...

Error

SQL query:

INSERT INTO configuration_group
VALUES (
NULL , 'Zen Lightbox', 'Configure Zen Lightbox settings', '0', '1'
);

MySQL said: Documentation
#1146 - Table 'bellabel_zc1.configuration_group' doesn't exist

Have you tried using the updated install.sql code, in one of my previous posts?

http://www.zen-cart.com/forum/showpost.php?p=669510&postcount=1271

If this doesn't work please post back with any error messages and your PHP and MySQL version.

24 Jan 2009, 2:44 AM
#1286
charinlasvegas avatar

charinlasvegas

Zen Follower

Join Date:
Jan 2009
Location:
Vegas Baby!
Posts:
311
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Alex Clarke:

Have you tried using the updated install.sql code, in one of my previous posts?

http://www.zen-cart.com/forum/showpost.php?p=669510&postcount=1271

If this doesn't work please post back with any error messages and your PHP and MySQL version.

I hadn't seen that - and it worked, thanks!!

24 Jan 2009, 2:56 AM
#1287
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Alex, Im not sure if this is the issue with this one or with the fual slimbox one, but the script tries to run when the document is not ready yet, which will causes some serious problem on slow sites (images completely disappear).On IE, if the page has flash it will cause "operation aborted"

Also, if you want you can use the module i posted here to avoid having to place too many duplicated files under the modules/pages.

http://www.zen-cart.com/forum/showthread.php?t=118215

You can checkout my simple lightbox module and zoom module that use the script above.

You can also use jscript to load css dynamically, that way to can also avoid having to load the stylesheet globally (you can see example in one of the modules above)
http://public.rubikintegration.com/

24 Jan 2009, 11:41 PM
#1288
visexp avatar

visexp

Zen Follower

Join Date:
Jul 2008
Posts:
106
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Alex Clarke:

Great news!

Sorry for not replying sooner - I wasn't ignoring you! :P

Thanks for posting the Slideshow 2 fix that worked for you. If more users run into issues with Slideshow 2 and Zen Lightbox I can always add a fix to v1.6 to address this.

No problem Alex. Thanks for the effort you put into answering so many posts :smile:

Is it possible to get Lightbox 1.5 to work on a Category page. I want to install it on another site but would like to use it on the picture of the bowl on this page http://zambeziexotics.com/index.php?main_page=index&cPath=2_4

Thanks in advance for any help.

25 Jan 2009, 5:20 PM
#1289
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

yellow1912:

Alex, Im not sure if this is the issue with this one or with the fual slimbox one, but the script tries to run when the document is not ready yet, which will causes some serious problem on slow sites (images completely disappear).On IE, if the page has flash it will cause "operation aborted"

Also, if you want you can use the module i posted here to avoid having to place too many duplicated files under the modules/pages.

http://www.zen-cart.com/forum/showthread.php?t=118215

You can checkout my simple lightbox module and zoom module that use the script above.

You can also use jscript to load css dynamically, that way to can also avoid having to load the stylesheet globally (you can see example in one of the modules above)
http://public.rubikintegration.com/

I'll look into those IE issues and see if they affect the current release of Zen Lightbox. I recall this being an issue with v1.2, but it should have been resolved with the v1.3 release.

Nice JavaScript loader there... I was just thinking the other day, "wouldn't it be nice to be able to control the order that JavaScript file are loaded".

The duplicate files under the modules/pages folder should not have an impact on the performance of the site. However, they're quite a few files there and it can make things a little cluttered. I'll probably look at addressing this in a future release.

Loading the CSS dynamically is already on my list and should make it in to the v1.6 release.

Thanks for all the feedback. I'm going to have a look at your JavaScript add-on now! :cool:

25 Jan 2009, 5:24 PM
#1290
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

VisExp:

No problem Alex. Thanks for the effort you put into answering so many posts :smile:

Is it possible to get Lightbox 1.5 to work on a Category page. I want to install it on another site but would like to use it on the picture of the bowl on this page http://zambeziexotics.com/index.php?main_page=index&cPath=2_4

Thanks in advance for any help.

You can easily get Zen Lightbox to work on the category page.

First of all, you'll need to link that image of the bowl to the large version.

Then, copy the jscript_zen_lightbox.php file that's in the root of the v1.5 release to includes/modules/pages/index/.

That should be it. :smile:

25 Jan 2009, 5:28 PM
#1291
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

"The duplicate files under the modules/pages folder should not have an impact on the performance of the site. However, they're quite a few files there and it can make things a little cluttered. I'll probably look at addressing this in a future release."

Look at the way jquery lightbox is working now, it uses javascript loader to load js on pages set in admin. The point is to be able to enable lightbox on any page without having to do anything with the js and css files.

25 Jan 2009, 5:38 PM
#1292
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

That possibility, "enable lightbox on any page without having to do anything with the js and css files" passed my mind.

Obviously this makes things much more user-friendly! Nice one! :cool:

26 Jan 2009, 7:37 PM
#1293
charinlasvegas avatar

charinlasvegas

Zen Follower

Join Date:
Jan 2009
Location:
Vegas Baby!
Posts:
311
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

CharInLasVegas:

I hadn't seen that - and it worked, thanks!!

I had lightbox working fine, then this morning installed Links Manager and now lightbox doesn't work anymore. when you click on a picture it opens it in a new page.

Are you aware of any issues between LB & LM? I wonder if I need to uninstall LM or REinstall LB?

FYI - I asked about this on the Links Manager support thread and Clyde is unaware of any issues.

26 Jan 2009, 10:11 PM
#1294
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

There shouldn't be any issues with these two add-ons.

Do you have a link to your site? If so, please post it here and I'll take a look.

26 Jan 2009, 10:16 PM
#1295
charinlasvegas avatar

charinlasvegas

Zen Follower

Join Date:
Jan 2009
Location:
Vegas Baby!
Posts:
311
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Alex Clarke:

There shouldn't be any issues with these two add-ons.

Do you have a link to your site? If so, please post it here and I'll take a look.

Yes - click here. Thanks.

26 Jan 2009, 10:38 PM
#1296
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

If you have a backup (before the installation of Links Manager) try restoring that to see if Zen Lightbox works again.

I would also prevent jscript_tpp.js from loading on your product_info pages, as this may be causing issues.

Also, double check to make sure none of the Zen Lightbox files have recently been modified or removed.

It may also be wise to check file permissions on the Zen Lightbox files and/or folders.

26 Jan 2009, 11:22 PM
#1297
charinlasvegas avatar

charinlasvegas

Zen Follower

Join Date:
Jan 2009
Location:
Vegas Baby!
Posts:
311
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Alex Clarke:

If you have a backup (before the installation of Links Manager) try restoring that to see if Zen Lightbox works again.

I would also prevent jscript_tpp.js from loading on your product_info pages, as this may be causing issues.

Also, double check to make sure none of the Zen Lightbox files have recently been modified or removed.

It may also be wise to check file permissions on the Zen Lightbox files and/or folders.

I just happened to have backed up everything right before installing it. I can delete jscript_tpp.js as I'm not using that add on, although it wasn't interfering with anything.

What would be the correct permissions for Lightbox?

Thanks for looking.

26 Jan 2009, 11:54 PM
#1298
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

First I recommend restoring the backup.

If that doesn't sort the problem you could try setting all Zen Lightbox file permissions to 755.

Let me know how you get on... and goodluck! :smile:

27 Jan 2009, 1:05 AM
#1299
newagekat avatar

newagekat

Zen Follower

Join Date:
Nov 2005
Location:
Vancouver, Canada
Posts:
151
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Alex:

You're a bloomin' genius. I have a quick question, I'm more comfortable with define pages both HTML and edior mode than with ez pages. how can i add this effect to linked images within the product info description? can jscript_zen_lightbox.php be added to /editor/htmlArea/ or should it go somewhere else?

27 Jan 2009, 1:15 AM
#1300
newagekat avatar

newagekat

Zen Follower

Join Date:
Nov 2005
Location:
Vancouver, Canada
Posts:
151
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

newagekat:

Alex:

You're a bloomin' genius. I have a quick question, I'm more comfortable with define pages both HTML and edior mode than with ez pages. how can i add this effect to linked images within the product info description? can jscript_zen_lightbox.php be added to /editor/htmlArea/ or should it go somewhere else?

if comfortable with HTML, add rel="lightbox-g" to the <a> link and place caption in title. I did not add the above file to /editor/htmlArea/