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

Zen Lightbox addon [Support Thread]

Views: 953,053

Results 941 to 960 of 3,722
21 Feb 2008, 10:02 PM
#941
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,765
Plugin Contributions:
9

Zen Lightbox addon [Support Thread]

ironware,
search the forum with the name of your template provider and you may find some insight as to whether or not you can make it work. If you're using a Template Monster template the outlook is bleak at best.:no:

I have found that IH2 and lightbox is not workable on my new sites using 1.3.8a and 5.2+ PHP. Probably something in the lightbox code.

I have taken most of them to Fual slimbox or disabled lightbox altogether.

22 Feb 2008, 12:51 AM
#943
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,765
Plugin Contributions:
9

Re: Zen Lightbox addon [Support Thread]

dbltoe:

ironware,
search the forum with the name of your template provider and you may find some insight as to whether or not you can make it work. If you're using a Template Monster template the outlook is bleak at best.:no:

I have found that IH2 and lightbox is not workable on my new sites using 1.3.8a and 5.2+ PHP. Probably something in the lightbox code.

I have taken most of them to Fual slimbox or disabled lightbox altogether.
Sorry - spellchecker changed ironcross:blush:

23 Feb 2008, 9:27 PM
#944
ironcross avatar

ironcross

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

countrycharm:

Sorry about all your trouble. Yes hoverbox is good also try
Fual Slimbox (Lightbox)

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=830

Hi Countrycharm and dbltoe. I was able to get fual slimbox to work. :clap: The effect works perfectly. I had to place each file into their respective folders. The only sub-directories was in my custom template images and jscript folder. I think what made the difference was removing the additional_images.php file from the modules folder, then uploading the slimbox additional_images.php to the modules folder. Same method for the tpl_modules_main_product_image.php from the templates folder within my custom template folder. When I did this it worked. When I was overwriting the files, for some reason it didn't work. Anyways, persistance pays off.

Heres the site if you would like to check it out.

https://www.wildsociety.com

Does zen_lightbox need to be installed to get the prices of the products to display in the the lightbox?

25 Feb 2008, 3:29 PM
#945
gunga avatar

gunga

New Zenner

Join Date:
Feb 2008
Posts:
27
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

ok so i have http://dacapotees.com/index.php?main_page=product_info&cPath=4&products_id=3

and you can see its just something called sample image well the file is called ssampleimage and then i have the same name with a _1 at the end for the second image they are both in the root directory of the images folder. after i installed zen lilightbox it stopped displaying under the sampleimage one the products page it is a different image it has a light blue background it also doesn't show up with prev next buttons. is there somewhere else i need to put the images?

2 Mar 2008, 4:05 PM
#946
gunga avatar

gunga

New Zenner

Join Date:
Feb 2008
Posts:
27
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

ok i dont get it does zenlightbox support multi images? i have no other image mods installed i have in my main image directory sampleproductimage.jpg and sample productimage_01.jpg then in my large folder i have sampleproductimage_LRG.jpg and sampleproductimage_LRG_01.jpg and no luck, am i doing something wrong here please help.

12 Mar 2008, 12:48 AM
#947
tlyczko avatar

tlyczko

Zen Follower

Join Date:
Dec 2003
Location:
UPstate NY
Posts:
398
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

Does this mod work with ZC 1.3.8a full??

I searched this thread for 1.3.8 but got no hits.

Thank you, Tom

12 Mar 2008, 12:48 PM
#948
countrycharm avatar

countrycharm

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

Does this mod work with ZC 1.3.8a full??

I searched this thread for 1.3.8 but got no hits.

Thank you, TomYes this mod will work with 1.3.8a full. You shouldn't have any problem. If you do come back and read the form.

14 Mar 2008, 8:56 PM
#949
bugyoutoo avatar

bugyoutoo

New Zenner

Join Date:
Nov 2007
Posts:
34
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Quick question... where is the CSS file for this? Somehow the "close" button when the light box is not visible because the font is white. I need to change this asap, thanks..

14 Mar 2008, 9:02 PM
#950
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,765
Plugin Contributions:
9

Re: Zen Lightbox addon [Support Thread]

Should be in the css folder inside your templates override folder.

20 Mar 2008, 1:02 PM
#951
spottedhaggis avatar

spottedhaggis

Zen Follower

Join Date:
Dec 2005
Location:
Maidstone, Kent, UK
Posts:
310
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Have installed lightbox (pre latest release) and image handler latest version for cart 1.3.8 and it all seemed to work, other than the lightbox not working on additioanl images, on investigating this I noted there was a newer release of lightbox so downloaded and installed it, now my additional images simply do not display. They are visible in admin but no longer anywhere to be found on the main shopping cart.

Anyone know why this would be?

Thanks all.

20 Mar 2008, 9:46 PM
#952
spottedhaggis avatar

spottedhaggis

Zen Follower

Join Date:
Dec 2005
Location:
Maidstone, Kent, UK
Posts:
310
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

ok, I managed to get it back to the main image using lighbox but the additional images are still using popup.

Now, if I replace the additional images file with the one from the new lightbox I lose the additional images, so whats going on

Everything is new release, Zencart 1.3.8, IH latest release and LB 1.4

I just dont get it.

The additional images all have exactly the same name with _01 and _02 at the end so I figure that part is right?

20 Mar 2008, 10:28 PM
#953
spottedhaggis avatar

spottedhaggis

Zen Follower

Join Date:
Dec 2005
Location:
Maidstone, Kent, UK
Posts:
310
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

sorted using lightbox and slimbox together

20 Mar 2008, 10:35 PM
#954
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,765
Plugin Contributions:
9

Re: Zen Lightbox addon [Support Thread]

That is NOT a good idea:eek:

Fual Slimbox does work better with PHP 5+ but, you need to remove the lightbox. I can't imagine that they will play good together.:no:

20 Mar 2008, 10:49 PM
#955
spottedhaggis avatar

spottedhaggis

Zen Follower

Join Date:
Dec 2005
Location:
Maidstone, Kent, UK
Posts:
310
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

hmm, well they seem to work well have a look. You need to click on wrists as its the only one with test products in, clicking on the main image brings the lightbox into play with next and previous (which I hguess is slimbox

to be honest I probably have slimbox installed over the top of lightbox by now, upped and downned so many files during today to get it working.

https://www.breezy.biz

or

http://www.breezy.biz/index.php?main_page=product_info&cPath=1&products_id=1

20 Mar 2008, 11:08 PM
#956
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,765
Plugin Contributions:
9

Re: Zen Lightbox addon [Support Thread]

Just make sure that your includes/templates/CUSTOM/templates/tpl_modules_main_product_image.php is the one for FUAL and the lightbox scripts are gone from includes/templates/CUSTOM/jscript folder.

20 Mar 2008, 11:20 PM
#957
spottedhaggis avatar

spottedhaggis

Zen Follower

Join Date:
Dec 2005
Location:
Maidstone, Kent, UK
Posts:
310
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

lol, that would explain alot. I had both lightbox and slimbox in the configuration menu, slim was on, turn light box on and the top image vanishes, leaving the additional ones without any effect, lol.

Removed all db entries for lightbox, and as you suggested deleted the lighbox scripts, and now it works the way it should have the first time round, man I really should read things before just installing them.

thanks all.

20 Mar 2008, 11:34 PM
#958
spottedhaggis avatar

spottedhaggis

Zen Follower

Join Date:
Dec 2005
Location:
Maidstone, Kent, UK
Posts:
310
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

ok, well now its working without a hicth, I have a hitch.... :blink:

Both IE 7 and FF are telling me the following (this is on load of the page not on click to largen the image)

[Exception... "Could not convert JavaScript argument" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: http://www.breezy.biz/includes/templates/clean_business/jscript/slimbox/mootools-release-1.11.slim.js :: anonymous :: line 3" data: no]

[Break on this error]

eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a...

This is obviousley something to do with the mootools, I say obvious but maybe not.

Anyone got any ideas at all? :dontgetit

20 Mar 2008, 11:46 PM
#959
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,765
Plugin Contributions:
9

Re: Zen Lightbox addon [Support Thread]

You have some bad code inside the productMaindImage script. Can't do a document.write with </a>:no: Gotta be <\ /a>
NOTE: I put a space between the two slashes just to keep them from looking like a capital V.

Change all the </ to </ and you may find the error goes away.

ADDED: it's in additionalImages as well

21 Mar 2008, 12:22 AM
#960
spottedhaggis avatar

spottedhaggis

Zen Follower

Join Date:
Dec 2005
Location:
Maidstone, Kent, UK
Posts:
310
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

This is what the additional_images has in it.

But this is the default file included with slimbox so why should it be wrong, come to think of it the only additonls I have made are related to stylesheets and adding classes, but not to this or any lighbox/ slimbox file???

$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>';