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

How to add new tpl file?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-13-2013, 10:46 PM
 
taijasa taijasa is offline
 

Newbie
  
Join Date: Jan 2013
Posts: 9
 

Question How to add new tpl file?

Hello I want to add new tpl file in xcart which will contain a php code which i can write in tpl file. But I am not getting how can I create that tpl file and include it in my template. I know there is need to do some changes in home_main.tpl like
if $main eq "demo.php"}
{include file="customer/newpage.tpl"}

But this code is not working there.

Please any suggestions??
__________________
x-cart-4.5.4goldplus
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 07:11 AM.

   

 
X-Cart forums © 2001-2020