View Single Post
  #3  
Old 09-18-2008, 08:08 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Need help putting code into .tpl file - php rss2

Smarty was designed to divide HTML markup and PHP script. So it is not convinient to put PHP scripts into template.
But it is possible
Wrap the PHP code with tags

HTML Code:
{php} PUT script here {/php}
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote