Forums / All Other Contributions/Addons / Fual Slimbox (Lightbox) - Ver 1.0 Support

Fual Slimbox (Lightbox) - Ver 1.0 Support

Views: 124,327

Results 241 to 260 of 515
11 Jun 2008, 6:06 AM
#241
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Fual Slimbox (Lightbox) - Ver 1.0 Support

jaydee98273:

After installing Slimbox I'm getting the "Internet Explorer cannot open the site..." error when I try to view product pages. I'm pretty sure that this problem has to do with the javascript for Slimbox conflicting with the javascript for the slide show in the header.

I'm using Zen Cart 1.3.8a
The site can be found at www.buyers-market.net/zen *Please note that this is still a work in progress
**This is the slideshow script
**
Everything is fine using Fire Fox, but IE is having a fit. If anyone has any ideas how to fix this please share! I love slimbox and my client really wants the slideshow. If I could get both that would be awesome.

Thanks!

Do you also have, or did you have installed Zen Lightbox? I was having the same issue, even with Zen Lightbox turned off in the admin. For me I believe it was this Lightbox file: includes/modules/pages/product_info/jscript_zen_lightbox.php. If you had the Lightbox installed at any point, you might want to check to e certain that this file has been removed. I've read numerous times where it was placed in the folder twice.

Alternatively, search the Zen forum for "Internet Explorer cannot open the site..." as it seems that a number of people are having issues with IE7 and this error message.

11 Jun 2008, 9:19 PM
#242
jaydee98273 avatar

jaydee98273

New Zenner

Join Date:
May 2008
Posts:
28
Plugin Contributions:
0

Re: Fual Slimbox (Lightbox) - Ver 1.0 Support

MeltDown:

Do you also have, or did you have installed Zen Lightbox? I was having the same issue, even with Zen Lightbox turned off in the admin. For me I believe it was this Lightbox file: includes/modules/pages/product_info/jscript_zen_lightbox.php. If you had the Lightbox installed at any point, you might want to check to e certain that this file has been removed. I've read numerous times where it was placed in the folder twice.

Alternatively, search the Zen forum for "Internet Explorer cannot open the site..." as it seems that a number of people are having issues with IE7 and this error message.

Zen Lightbox used to be installed, but it was causing the same problem that I'm having now so I deleted all the files and removed it from the database. Since you mentioned that it could be part of the problem I double checked that all the files have been removed and there are no references to it in the admin section. As far as I can tell the only lightbox mod currently installed is Slimbox.

I should mention that I've only tested the site in IE6 so far. It could be working fine in IE7. I'll check that when I get back to my own computer. Still the site needs to work well in all browsers.

Searching the forms has reveled that others are having the problem, and that it is most likely a Javascript conflict. Although I'm not sure what possible errors/problems I should be looking for in the slideshow script. Any Javascript gurus out there have suggestions of how I should go about troubleshooting this?

All ideas are helpful. Please throw it out there if there is even a remote chance it could help.

12 Jun 2008, 3:57 PM
#243
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Fual Slimbox (Lightbox) - Ver 1.0 Support

jaydee98273:

Zen Lightbox used to be installed, but it was causing the same problem that I'm having now so I deleted all the files and removed it from the database. Since you mentioned that it could be part of the problem I double checked that all the files have been removed and there are no references to it in the admin section. As far as I can tell the only lightbox mod currently installed is Slimbox.

I should mention that I've only tested the site in IE6 so far. It could be working fine in IE7. I'll check that when I get back to my own computer. Still the site needs to work well in all browsers.

Searching the forms has reveled that others are having the problem, and that it is most likely a Javascript conflict. Although I'm not sure what possible errors/problems I should be looking for in the slideshow script. Any Javascript gurus out there have suggestions of how I should go about troubleshooting this?

All ideas are helpful. Please throw it out there if there is even a remote chance it could help.

If you haven't already resolved this, take a look at this thread to see if it applies to your situation.

12 Jun 2008, 5:19 PM
#244
jaydee98273 avatar

jaydee98273

New Zenner

Join Date:
May 2008
Posts:
28
Plugin Contributions:
0

Re: Fual Slimbox (Lightbox) - Ver 1.0 Support

Yeah, thanks. The problem is with my slide show script. Slimbox works just fine without it.

17 Jun 2008, 1:30 PM
#245
freshstart avatar

freshstart

New Zenner

Join Date:
Jul 2007
Location:
England
Posts:
84
Plugin Contributions:
0

Re: Fual Slimbox (Lightbox) - Ver 1.0 Support

Hello all,

I am using Zencart version 3.1.8a and have just installed Fual Slimbox as per the instruction - change name of YOUR_TEMPLATE to own template, upload includes folder, cut and paste sql.

Not seeing anything different?

What do I do with the files in the Documentation folder?

Am obviously doing something wrong.

Thankz.

17 Jun 2008, 3:24 PM
#246
freshstart avatar

freshstart

New Zenner

Join Date:
Jul 2007
Location:
England
Posts:
84
Plugin Contributions:
0

Re: Fual Slimbox (Lightbox) - Ver 1.0 Support

Of course I meant 1.3.8a :cool:

20 Jun 2008, 10:29 AM
#247
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Fual Slimbox (Lightbox) - Ver 1.0 Support

From Zen Lightbox Thread:

ihateporkroast:

Fual isn't working with my Cherry Zen template. On the individual product pages, images are no longer showing. I'd love to know what steps you took, Melt!

Hmmm... Honestly I don't think I veered from the ReadMe documentation, being certain to change /Custom_Template/ to my template name.

I modified tpl_modules_main_product_image.php slightly to prettify the thumbnail presentation. Here is that modified file:

<?php
/**
 * Module Template
 *
 * @package templateSystem
 * @copyright Copyright 2007 FUAL
 * @copyright Portions Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_modules_main_product_image.php 2007-12-04 btyler $
 */
?>
<?php require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_MAIN_PRODUCT_IMAGE)); ?> 
<table><tr><td align="center">
<div id="productMainImage" class="centeredContent back">
<!-- bof Zen Slimbox v0.1 btyler 2007-12-04 -->
<?php
if( FUAL_SLIMBOX == 'true' || ZEN_LIGHTBOX_STATUS == 'true' ) {
	// Set the title
	if ( $current_page_base == 'product_reviews' ) {
		$fual_slimbox_title = htmlentities($review->fields['products_name'],ENT_QUOTES);
	} else {
		$fual_slimbox_title = htmlentities($products_name,ENT_QUOTES);
	}
	// Get the href for the large image
	$fual_slimbox_href = zen_lightbox($products_image_large, $fual_slimbox_title, LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT);
	$fual_slimbox_a = '<a href="' . $fual_slimbox_href . '" rel="lightbox[gallery]" title="' . $fual_slimbox_title . '">';
	// Get the img element for this product.
	$fual_slimbox_image = zen_image($products_image_medium, $fual_slimbox_title, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT); 

	// Test remote images to simulate slow loading for local development
	//$fual_slimbox_image = '<img src="http://demos.mootools.net/demos/DomReadyVS.Load/moo.png" width="150px" height="150px;" alt="test" />'; 
	
	// Note if you want to test a slow DOM load, then in /index.php add sleep(5); (in php brackets) just before the final </html>
	// This will make the DOM take an extra 5 seconds to load, which simulates dialup (what a cool feature)
	
	$fualSlimboxContent = "";
	if( ZEN_LIGHTBOX_STATUS == 'true' ) {
		$fualNervousSwitch = 0;
	} else {
		$fualNervousSwitch = FUAL_SLIMBOX_NERVOUS;
	}
	switch( $fualNervousSwitch ) {
		case 2:
			$fualSlimboxContent .= '<div id="slimboxWrapper">';
			break;
		case 1:
			$fualSlimboxContent .=  '<div id="slimboxWrapper" style="display:block;">';
			break;
		case 0:
		default:
			$fualSlimboxContent .= '<div id="slimboxWrapper" style="display:block; visibility:visible;">';
	}
	$fualSlimboxContent .=  $fual_slimbox_a . $fual_slimbox_image . '</a>'; 
	// Putting the text link together with the image is nasty!
	$fualSlimboxContent .=  '<br class="clearBoth" />';
	$fualSlimboxContent .=  $fual_slimbox_a . '<span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>';
	$fualSlimboxContent .=  '</div>';
?>
	<script language="javascript" type="text/javascript"><!--
	document.write('<?php echo $fualSlimboxContent; ?>' );
	//--></script>
	<noscript>
	<?php
	// If they can't be bothered to get a decent browser or turn js on then they only deserve the default behaviour.
	echo '<a href="' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '" target="_blank">' . zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>';
?>
	</noscript>
<?php 		
} else {
?>
<div id="productMainImage" class="centeredContent back">
<!-- bof Zen Slimbox v0.1 btyler 2007-12-04 -->
	<script language="javascript" type="text/javascript"><!--
	document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '\\\')">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>');
	//--></script>
	<noscript>
	<?php
	echo '<a href="' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '" target="_blank">' . zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>';
	?>
	</noscript>
<?php } ?>
</div>
<tr><td algin="center"><span class="imgLink"><a href="<? zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="lightbox[gallery]" title="' . addslashes($zen_lightbox_products_name); ?>"></a></span></div></td></tr></table>

But I don't think it should have any impact on your issue.

I would recommend re-installing Faul, especially if you had previously installed Lightbox, as the two tend to blend into each other.

Also, could it be a conflict with existing mods? It could be helpful to see a link to your site, as it might trigger something.

20 Jun 2008, 10:35 AM
#248
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Fual Slimbox (Lightbox) - Ver 1.0 Support

freshstart:

Hello all,

I am using Zencart version 3.1.8a and have just installed Fual Slimbox as per the instruction - change name of YOUR_TEMPLATE to own template, upload includes folder, cut and paste sql.

Not seeing anything different?

What do I do with the files in the Documentation folder?

Am obviously doing something wrong.

Thankz.

I would also recommend re-installing Faul to you, as well. The Documentation folder is just examples - There is no need to do anything with it. Do you have a link?

20 Jun 2008, 8:57 PM
#249
freshstart avatar

freshstart

New Zenner

Join Date:
Jul 2007
Location:
England
Posts:
84
Plugin Contributions:
0

Re: Fual Slimbox (Lightbox) - Ver 1.0 Support

Meltdown,

Many thanks for your response. My template is also Cherry Zen. I will try a new install and report back.

:cool:

21 Jun 2008, 2:28 AM
#250
ihateporkroast avatar

ihateporkroast

New Zenner

Join Date:
Jun 2008
Posts:
14
Plugin Contributions:
0

Re: Fual Slimbox (Lightbox) - Ver 1.0 Support

Melt: Much thanks for the detailed response. I've uninstalled both mods and am going to reinstall Fual. Let's see if I have another issue!

22 Jun 2008, 9:12 PM
#251
edelinem avatar

edelinem

New Zenner

Join Date:
May 2008
Posts:
25
Plugin Contributions:
0

Re: Fual Slimbox (Lightbox) - Ver 1.0 Support

btw, i installed slimbox on my store but i the aditional images wont show up .. the file name is the same as the first preview_1 and preview_2 but only sho the first one..

help please

23 Jun 2008, 11:52 AM
#252
qingtianyu9 avatar

qingtianyu9

New Zenner

Join Date:
Jan 2007
Posts:
25
Plugin Contributions:
0

Re: Fual Slimbox (Lightbox) - Ver 1.0 Support

I installed lightbox,it's great,but i have a question that it only working on product detail page,i need the lightbox can working on product listing page too, How can i do?

Thanks a lot!

23 Jun 2008, 1:54 PM
#253
freshstart avatar

freshstart

New Zenner

Join Date:
Jul 2007
Location:
England
Posts:
84
Plugin Contributions:
0

Re: Fual Slimbox (Lightbox) - Ver 1.0 Support

Meltdown,

Tested Fual Slimbox on WAMP and it worked. Installed to test site today and it worked. Will read more of these support threads regarding how to use the mod...and mootools, many thanks.

:cool:

23 Jun 2008, 3:06 PM
#254
freshstart avatar

freshstart

New Zenner

Join Date:
Jul 2007
Location:
England
Posts:
84
Plugin Contributions:
0

Re: Fual Slimbox (Lightbox) - Ver 1.0 Support

Hello all,

Am new to this mod, so bear with me. I am looking at Admin and am adjusting the 'transition type'. After clicking on each choice, although the image is opening in a 'slimbox / lightbox' it opens in the same way every time. Given that there are several choices including; linear, quad etc...should something else be happening when I open the larger image? I could not find the answer in this thread, although I may have missed it, given that my eyes are working themselves loose at the moment :blink:

Thankz..:blink:

23 Jun 2008, 3:46 PM
#255
720moto avatar

720moto

New Zenner

Join Date:
May 2008
Location:
California
Posts:
20
Plugin Contributions:
0

Re: Fual Slimbox (Lightbox) - Ver 1.0 Support

I installed it on my site:

https://www.720moto.com/store

When you click on a sample item and click to see a larger image it shows very small. If you click on the HP printer sample the words stack. How can I fix this?

Thanks,
Rudy

banswidthjunkie:

Cool, the admin has a lot of options, so there is a lot of tweeking potential.

23 Jun 2008, 3:55 PM
#256
720moto avatar

720moto

New Zenner

Join Date:
May 2008
Location:
California
Posts:
20
Plugin Contributions:
0

Re: Fual Slimbox (Lightbox) - Ver 1.0 Support

I checked out your site and I have a question, how did you get your images to display so big? On my site the test images are displaying small and in some cases the discription stacks.

URL: https://www.720moto.com/store

Click on the HP printer sample and you will see what I mean.

Rudy

Safariguy:

I installed slimbox and everything is working is advertised.

Today I added a new category and when I click to go to the larger image, the slimbox window does not open to the size of the picture and it has sliders to show the full pic. The dimensions of these pictures are exactly the same as the ones used in other categories and the other categories work normally. I'm not sure how to trouble shoot this and I am hoping that it is not going to be embarassingly stupid.

here is a link to the store and the problemtaic category is ephemera.

Thanks for the help.

24 Jun 2008, 8:11 AM
#257
ces avatar

ces

Zen Follower

Join Date:
Nov 2004
Location:
West Mids, England
Posts:
199
Plugin Contributions:
0

Re: Fual Slimbox (Lightbox) - Ver 1.0 Support

It's because the image is small. Slimbox will not make the pictures larger, it just displays the image without changing it.

Sik50s Chain Guide:
This item uses a large image so displays as a large image. Unfortunately it is still a large image resized down for the smaller images.

Try looking up in the forums or tutorials about how to use different size images with zencart.

Craig

10 Jul 2008, 11:27 AM
#258
car86l avatar

car86l

New Zenner

Join Date:
Jun 2008
Posts:
18
Plugin Contributions:
0

Re: Fual Slimbox (Lightbox) - Ver 1.0 Support

Can this mod be edited to open pages like the shipping estimator etc..?

11 Jul 2008, 8:44 AM
#259
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Fual Slimbox (Lightbox) - Ver 1.0 Support

car86l:

Can this mod be edited to open pages like the shipping estimator etc..?

I haven't yet done it, but assumed the need would arise so I saved this post.

11 Jul 2008, 8:55 AM
#260
car86l avatar

car86l

New Zenner

Join Date:
Jun 2008
Posts:
18
Plugin Contributions:
0

Re: Fual Slimbox (Lightbox) - Ver 1.0 Support

Thanks MeltDown works a treat :)