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

php program integration

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-07-2008, 05:57 AM
 
mismouss mismouss is offline
 

Advanced Member
  
Join Date: Dec 2007
Posts: 38
 

Default 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,
__________________
David
Carteq
x-cart 4.1.9
Reply With Quote
  #2  
Old 09-08-2008, 01:11 AM
  Piotr M.'s Avatar 
Piotr M. Piotr M. is offline
 

Senior Member
  
Join Date: Aug 2008
Posts: 134
 

Default 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.
__________________
Regards,
Piotr Markushin

X-Cart PDF Catalog Generator NEW
Professional X-Cart Skins Store (7 new skins added in August 2008!)

ahedOffice.com - Web 2.0 Online Groupware
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 05:11 AM.

   

 
X-Cart forums © 2001-2020