X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   Shadowbox Integration (https://forum.x-cart.com/showthread.php?t=38292)

carpeperdiem 06-15-2009 06:13 AM

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 --

Isleman 12-04-2009 02:59 AM

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 ?

cherie 12-04-2009 03:14 PM

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>
*} 


Isleman 12-07-2009 02:12 AM

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.

cherie 12-07-2009 06:47 AM

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.

Isleman 12-09-2009 01:25 AM

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 ?

beetlejuice 12-09-2009 02:32 AM

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.

Isleman 12-09-2009 03:34 AM

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? :-)

JJO 03-10-2010 02:21 AM

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


All times are GMT -8. The time now is 07:14 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.