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

Zen Lightbox addon [Support Thread]

Views: 953,005

Results 741 to 760 of 3,722
22 Oct 2007, 6:40 AM
#741
gudang avatar

gudang

New Zenner

Join Date:
Oct 2007
Posts:
3
Plugin Contributions:
0

Zen Lightbox addon [Support Thread]

tactics:

OK, I finally got it working. It just absolutely wouldn't work without image handler installed. As soon as I installed that, everything was good. Only thing I can't figure out now is why "use css buttons" no longer works...

hi tactics, just to confirm with you. So, image handler is absolutely necessary for zen lightbox to work properly. I installed lightbox and all my other additional images do not appear. I also got error when i try to open the web with IE, with firefox, it seems to work fine, aside of the disappearing additional images.

22 Oct 2007, 10:50 AM
#742
poosk avatar

poosk

Totally Zenned

Join Date:
Mar 2005
Location:
Helsinki
Posts:
477
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Can someone advice how could I make next function automatic so images would change with certain interval?

see http://www.dolem.com/lytebox/index.htm

thanks for the help

22 Oct 2007, 12:13 PM
#743
james739 avatar

james739

Zen Follower

Join Date:
Jun 2007
Posts:
210
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Alex Clarke:

What version of Zen Cart are you running? Also, what other contributions do you have installed?
I am using the latest version of Zen cart 1.3.7.1. The previous lightbox works fine. I have the following contributions: ty package tracker, google analytics, froogle feeder, wishlist, ask a question, links manager, faq manager, testimonial manager, tabbed products, cross sell advanced

22 Oct 2007, 1:43 PM
#744
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

Hi Alex I have one question. Right under the lightbox on my site you have were it says larger image. The link is of centered. It wasn't like that before I installed lightbox. Could you point me in the right direction how to fix this.. Thank you

22 Oct 2007, 8:37 PM
#745
kutigeza avatar

kutigeza

New Zenner

Join Date:
Oct 2007
Posts:
5
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi

Could anyone please help me?

I've got a serious problem after the install of LightBox 1.4:

Clicking on individual product pages it fails with the following php error:

Warning: main(includes/templates/template_default/templates/tpl_product_info_default.php) [function.main]: failed to open stream: No such file or directory in /var/www/gezadmin/xlr8.hu/includes/templates/theme055/common/tpl_main_page.php on line 120

Fatal error: main() [function.require]: Failed opening required 'includes/templates/template_default/templates/tpl_product_info_default.php' (include_path='.:/php/includes:/usr/local/share/pear') in /var/www/gezadmin/xlr8.hu/includes/templates/theme055/common/tpl_main_page.php on line 120

As I've checked and tried to find the bug, I've found that tpl_product_info_default.php does not even exist in the newest zencart distribution.

What is this tpl_product_info_default.php, where can I find it to resolve the problem? Or anybody have an idea to ind a workaround for this?

Many thanks in advance:
Geza

22 Oct 2007, 9:02 PM
#746
kutigeza avatar

kutigeza

New Zenner

Join Date:
Oct 2007
Posts:
5
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Found the bug:

the missing file was /includes/modules/pages/product_info/main_template_vars.php file on my server server

I've overwrote modules/pages directories and not merged... :(((

22 Oct 2007, 10:33 PM
#747
kutigeza avatar

kutigeza

New Zenner

Join Date:
Oct 2007
Posts:
5
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi again.

I was trying again install zen lightbox to my shop, with the doublecheck and strict following of all installation (and upgrade) manuals. (deleted all previous lightbox files and installed newly zen LB 1.4)

Unfortunately LightBox Still not working - and don't even IH2 pop ups work.... Large images simply shown as picture files in my server... :(

(FYI: after my previous try I've set back the backup of my shop taken before install process, so this was a completely new try, and of course zen lightbox is enabled in admin)

Can anyone help? What might I did wrong? What file should I try to find the controller script of this - showing large pictures in lightbox- function?

I have only ZenAuction, IH2, Zen LightBox, Freeshipping And TinyMCE installed in my zencart system.

my shop is located at: http://www.xlr8.hu

23 Oct 2007, 6:12 AM
#748
possum avatar

possum

New Zenner

Join Date:
Sep 2007
Posts:
58
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi all,

I've reviewed this forum before installing the lightbox mod (lesson learnt from previous mods :smile:) and its clear that Javascript needs to be enabled on a user's browser for this to work.

My question is this, exactly how does it fail? Both with the lightbox for large images and the gallery for additional images. Does it failover back to some kind of standard behaviour, does it just refuse to show the image, or some other behaviour.

Thanks for your help.

Possum.

23 Oct 2007, 6:14 AM
#749
kutigeza avatar

kutigeza

New Zenner

Join Date:
Oct 2007
Posts:
5
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi again.

Just to test out this bug I've installed a brand new ZC on one of my free domains.

Its only pure ZC 1.3.7.1 and Zen LightBox 1.4 and IH2.

Server Info and admin:
http://married.hu/admin/server_info.php

login: admin
pass: admin

Lightbox still not working, but it puts the large image to the very bottom of the page. Is there any workaround to solve this problem?

23 Oct 2007, 3:11 PM
#750
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

kutigeza you might want to see if this is your problem.

Originally Posted by climax007 View Post
If someone still has problems with ZenCart 1.3.7.1, ImageHandler 2.0 and Zen Lightbox 1.4 here is what i did to fix it:

locate the file "additional_images.php" it should be in your includes\modules"template_name_dir".

Go to line 23 and remove the ". '$'".
The line should look now like this:
$products_image_base = str_replace($products_image_extension , '', $products_image);

Thats it. Hope it helps others.

Cheers,
Climax

23 Oct 2007, 3:38 PM
#751
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

kutigeza hers something else I found that may help you.

Thank you Alex,CES, Climax, Sigel. It is really working with IH2 now although no hover. But it is working at least. Thank you so much.

Step 1:

If someone still has problems with ZenCart 1.3.7.1, ImageHandler 2.0 and Zen Lightbox 1.4 here is what i did to fix it:

locate the file "additional_images.php" it should be in your includes\modules"template_name_dir".

Go to line 23 and remove the ". '$'".
The line should look now like this:
$products_image_base = str_replace($products_image_extension , '', $products_image);

Thats it. Hope it helps others.

Cheers,
Climax

Step2:

Originally Posted by CES View Post
How I got around the problem was to ignore the additional_images.php file that came with the mod and copied the core zen additional_images.php file into the override folder: /includes/modules/YOUR_TEMPLATE/

Then find line 92

// Link Preparation:

> 
> and insert below it the following:
> 
> ```php
// bof Zen Lightbox v1.4 aclarke 2007-09-22
	if (ZEN_LIGHTBOX_STATUS == 'true') {
	
    $script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="' . zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="lightbox[gallery]" title="' . addslashes($products_name) . '">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';
	
	} else {
			
    $script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascript:popupWindow(\\\'' . $large_link . '\\\')">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';
	
	}
	// eof Zen Lightbox v1.4 aclarke 2007-09-22

Then directly under that, comment out the following line of code:

$script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascript:popupWindow(\\\'' . $large_link . '\\\')">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';

> 
> so it looks like this;
> 
> ```php
//    $script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascript:popupWindow(\\\'' . $large_link . '\\\')">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';

I hope that helps, and I'm not treading on anyone's toes.

Great mod by the way, thanks.

Craig

This is a fantastic mod. Thank you so much again.

23 Oct 2007, 5:53 PM
#752
kutigeza avatar

kutigeza

New Zenner

Join Date:
Oct 2007
Posts:
5
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Still not work with that hack... :(((

23 Oct 2007, 8:20 PM
#753
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

I guess you will have to use one or the other. I know some of them have got it to work, but it takes time to track down the right file you are having trouble with. Sorry, I can not answer your question.

24 Oct 2007, 3:35 PM
#754
teebo avatar

teebo

Zen Follower

Join Date:
Jun 2007
Posts:
104
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

How exactly do I get lightbox to show multiple images? I have a file named n.jpg I want it to say next and show n1.jpg.

24 Oct 2007, 3:48 PM
#755
alex_clarke avatar

alex_clarke

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

teebo:

How exactly do I get lightbox to show multiple images? I have a file named n.jpg I want it to say next and show n1.jpg.

You'll need to setup multiple images with Zen Cart correctly. Please check the readme/documentation for Zen Lightbox v1.4 for more information.

25 Oct 2007, 12:33 AM
#756
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

Hi Alex I don't mean to have to re-ask this, but I have one question. Right under the Picture when you enlarge it, you have were it says larger image. The link is of centered. It wasn't like that before I installed lightbox. Could you point me in the right direction how to fix this

25 Oct 2007, 8:58 AM
#757
alex_clarke avatar

alex_clarke

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

countrycharm:

Hi Alex I don't mean to have to re-ask this, but I have one question. Right under the Picture when you enlarge it, you have were it says larger image. The link is of centered. It wasn't like that before I installed lightbox. Could you point me in the right direction how to fix this

Sorry for not replying to your original question. I did try to view your website, but IE7 reported an error and would not load any of the product pages.

This error only appears when a product page is loaded after clicking on a product name or image from the product listing page. I can bypass the error by accessing the product page directly. It works fine in Firefox 2.

The error message reads as follows and appears in a warning message dialog box. After clicking on the ok button the usual 'This page cannot be displayed message' is shown.

Intenet Explorer cannot open the Internet site
http://www.thegoodshepherdstore.com/index.php?main_page=product_info&cPath=73&products_id=1018

Operation aborted

Zen Lightbox shouldn't change the appearance or position of this 'larger image' link (at least I think it shouldn't).

Anyway... to change the style or position of this 'larger image' link you'll probably need to find the follow code in your stylesheet.

.imgLink

Editing the text-align property should sort things out.

Hope this helps! :)

25 Oct 2007, 12:01 PM
#758
billybonds avatar

billybonds

Zen Follower

Join Date:
Nov 2003
Location:
UK
Posts:
102
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi

Firstly, thank you for releasing this contribution - it works great.

What I want to know is how would you set about getting the lightbox to work with a gallery in Zen Cart. Specifically this one >>> http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=706

Its a shame to have the effect work for products but not for the gallery.

Thanks,

Jim.

26 Oct 2007, 6:34 AM
#759
ellenspsp avatar

ellenspsp

New Zenner

Join Date:
Oct 2007
Posts:
13
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi I have install the lightbox and put the new aditonal-image file, but I only get the popup and not het ligthbox when I click on the picture
Can some help me pleace
http://www.schilderijen.ellenspsp.com/index.php?main_page=index&cPath=15

thanks a lot
Ellen

27 Oct 2007, 8:47 PM
#760
cirius avatar

cirius

New Zenner

Join Date:
Oct 2007
Posts:
9
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I think I am in over my head and I'm getting pretty frustrated. I can't get the second images to display in lightbox. The first image is perfect. The "next" button shows up, but then it just locks up.

http://www.mtcoffinz.com/Shop/index.php?main_page=product_info&products_id=186

All of the files are named correctly and stored in the same directory on my server.

Do you have to have IH2 installed also?

Any suggestions...I'm losing my mind!