Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Shadowbox Integration

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #81  
Old 06-15-2009, 06:13 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Shadowbox Integration

This may be old news, but Shadowbox v2 and IE8 -- will not work.

Force IE8 into IE7 emulation for now....

put this in /skin1/customer/home.tpl

AFTER:

<head>

INSERT:

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

PS: There is a beta of shadowbox3 --
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #82  
Old 12-04-2009, 02:59 AM
 
Isleman Isleman is offline
 

Senior Member
  
Join Date: Jan 2005
Location: UK
Posts: 128
 

Default Re: Shadowbox Integration

I have some problems with the css file. I am not sure where exactly i should insert this
code
#shadowbox_images { width: 500px;}

}

.shadowboxlinks {margin: 2px;
border: thin solid #868686;
padding: 2px;
height: 50px;
width: 50px;
float:left;
}

I have included it in container overlay section of the css file .Is this corect ?
Also I am not sure how can I switch off the product description next to the thumbnail.
Can somebody help please ?
__________________
X-Cart ver. 4.4.2 ( www.responseelectronics.com )
X-Cart ver. 4.1.11 ( www.mrdoorbell.com)
Reply With Quote
  #83  
Old 12-04-2009, 03:14 PM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default Re: Shadowbox Integration

Quote:
Originally Posted by Isleman
I have some problems with the css file. I am not sure where exactly i should insert this
code
#shadowbox_images { width: 500px;}

}

.shadowboxlinks {margin: 2px;
border: thin solid #868686;
padding: 2px;
height: 50px;
width: 50px;
float:left;
}

I have included it in container overlay section of the css file .Is this corect ?
You can put that pretty much anywhere. Preferably at the bottom. Seems you have an extra brace:
Code:
#shadowbox_images { width: 500px; } .shadowboxlinks { margin: 2px; border: thin solid #868686; padding: 2px; height: 50px; width: 50px; float:left; }
Quote:
Also I am not sure how can I switch off the product description next to the thumbnail.
Can somebody help please ?
You can comment (disable) that portion in products_list.tpl with "{* *}" thusly:
PHP Code:
{*
        <
div class="descr">{$product.descr}</div>
*} 
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote

The following user thanks cherie for this useful post:
Isleman (12-07-2009)
  #84  
Old 12-07-2009, 02:12 AM
 
Isleman Isleman is offline
 

Senior Member
  
Join Date: Jan 2005
Location: UK
Posts: 128
 

Default Re: Shadowbox Integration

Thank you very much for your answer .The CSS now is working a treat.

Quote:

You can comment (disable) that portion in products_list.tpl with "{* *}" thusly:
PHP Code:
{*
        <
div class="descr">{$product.descr}</div>
*} 

I am sorry I can't yet disable the description because I have no products_list.tpl .
I assume on version 4.1.11 there is a different file that needs changing have you got any idea which one might be ?
Thank you.
__________________
X-Cart ver. 4.4.2 ( www.responseelectronics.com )
X-Cart ver. 4.1.11 ( www.mrdoorbell.com)
Reply With Quote
  #85  
Old 12-07-2009, 06:47 AM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default Re: Shadowbox Integration

Quote:
Originally Posted by Isleman
I am sorry I can't yet disable the description because I have no products_list.tpl .
I assume on version 4.1.11 there is a different file that needs changing have you got any idea which one might be ?
Yep, check products.tpl.
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote
  #86  
Old 12-09-2009, 01:25 AM
 
Isleman Isleman is offline
 

Senior Member
  
Join Date: Jan 2005
Location: UK
Posts: 128
 

Default Re: Shadowbox Integration

Quote:
Originally Posted by cherie
Yep, check products.tpl.
Thanks for the reply .
I have tried to find the ofending line but I am not able to.
I tried to comment different lines but no luck.
The only line I could find in products.tpl refering to description was this one :
<br />
{$products[product].descr|truncate:300:"...":true}
<br />
I commented out but no luck .
Can you please help again ?
__________________
X-Cart ver. 4.4.2 ( www.responseelectronics.com )
X-Cart ver. 4.1.11 ( www.mrdoorbell.com)
Reply With Quote
  #87  
Old 12-09-2009, 02:32 AM
  beetlejuice's Avatar 
beetlejuice beetlejuice is offline
 

eXpert
  
Join Date: Apr 2007
Posts: 251
 

Default Re: Shadowbox Integration

Quote:
Originally Posted by Isleman
Thanks for the reply .
I have tried to find the ofending line but I am not able to.
I tried to comment different lines but no luck.
The only line I could find in products.tpl refering to description was this one :
<br />
{$products[product].descr|truncate:300:"...":true}
<br />
I commented out but no luck .
Can you please help again ?

Isleman, is this the area you mean?

http://www.itefx.com.au/Images/isleman.jpg

If it is that's your alt tag on your detailed image. If you delete it though, you get image 1, 2 etc and I haven't found where to delete those myself yet.
Sorry.
__________________
XCart 4.5.4, 4.6.1, 4.64 stores
Many, many mods from Altered Cart
XCart Mods Reboot template
The XCart Store Templates and Mods
WCM CDSEO Pro
BCSE Rewards Points and Gallery Mods
and a few others
Reply With Quote
  #88  
Old 12-09-2009, 03:34 AM
 
Isleman Isleman is offline
 

Senior Member
  
Join Date: Jan 2005
Location: UK
Posts: 128
 

Default Re: Shadowbox Integration

Quote:
Originally Posted by beetlejuice
Isleman, is this the area you mean?



If it is that's your alt tag on your detailed image. If you delete it though, you get image 1, 2 etc and I haven't found where to delete those myself yet.
Sorry.
You are spot on. That is exactly the area I am talking about.
I don't want to get that extra description there especially as I have quite long descriptions .
Is there anybody who can help us please?
__________________
X-Cart ver. 4.4.2 ( www.responseelectronics.com )
X-Cart ver. 4.1.11 ( www.mrdoorbell.com)
Reply With Quote
  #89  
Old 03-10-2010, 02:21 AM
 
JJO JJO is offline
 

Newbie
  
Join Date: Nov 2007
Posts: 4
 

Default Re: Shadowbox Integration

Hello guys,

At the moment we are implementing the shadowbox 2.0 into our x-cart 4.1.9 and it is not working. We did all the steps like the install.txt describe except for 6b (the optional) because the exact “{include file="product_thumbnail.tpl" productid=$product.image_id image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.image_url id="product_thumbnail" type=$product.image_type}&nbsp;” I can’t find.


The webshop is at http://www.colournorm.nl/webshop/home.php

Please can some one help?
Regards,
JJ
__________________
Version 4.1.9
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:06 PM.

   

 
X-Cart forums © 2001-2020