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

php inside of tpl files

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-12-2007, 03:20 PM
 
imimin imimin is offline
 

Senior Member
  
Join Date: Mar 2007
Posts: 195
 

Default php inside of tpl files

How can I (what is the correct syntax) place php code inside of .tpl files?

Thank you!
__________________
Demoing v4.4.2 for new site
Licensed v4.0.19
Reply With Quote
  #2  
Old 07-12-2007, 03:23 PM
 
hooter hooter is offline
 

X-Adept
  
Join Date: Dec 2004
Posts: 519
 

Default Re: php inside of tpl files

Quote:
Originally Posted by imimin
How can I (what is the correct syntax) place php code inside of .tpl files?

Thank you!
Hello,
Code:
{php}your php code here{/php}
__________________
Blog for X-Cart | Ebay Auction Manager
Reply With Quote
  #3  
Old 07-12-2007, 03:26 PM
 
imimin imimin is offline
 

Senior Member
  
Join Date: Mar 2007
Posts: 195
 

Default Re: php inside of tpl files

Thank you!

So I don't have to make any Smarty configuration changes? Works "Out of the box"?
__________________
Demoing v4.4.2 for new site
Licensed v4.0.19
Reply With Quote
  #4  
Old 07-12-2007, 03:36 PM
 
hooter hooter is offline
 

X-Adept
  
Join Date: Dec 2004
Posts: 519
 

Default Re: php inside of tpl files

Quote:
Originally Posted by imimin
Thank you!

So I don't have to make any Smarty configuration changes? Works "Out of the box"?

Well the smarty php tags work "out of the box" - can't say for your php code
__________________
Blog for X-Cart | Ebay Auction Manager
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 11:03 AM.

   

 
X-Cart forums © 2001-2020