X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   php program integration (https://forum.x-cart.com/showthread.php?t=42215)

mismouss 09-07-2008 05:57 AM

php program integration
 
Hi,

I am looking to integrate a external php program (support center) into my x-cart template.
I have tried to create a new tpl file with this script inside :
<iframe src="./support_center/index.php" allowTransparency="true" frameborder="0" style="background-color:transparent; margin:0px; padding:0px; border:0px; width:100%; height:auto;">
Please upgrade your browser</iframe>

And I put this in skin1/common_templates.tpl :
{elseif $main eq "support_center"}
{include file="support_center.tpl"}

It doesn't work.

Could someone help me ?

Thanks in advance,

Piotr M. 09-08-2008 01:11 AM

Re: php program integration
 
It's probably easier to create static page with the iframe as its content. And you need no modifications to templates.


All times are GMT -8. The time now is 12:43 AM.

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