HOME | DOWNLOAD | SUPPORT | INSTALLATION | FAQ | SUPPORT FORUM | DEMO
 ° Forums ° Statistics ° Registration ° Search ° Manual °
SkaLinks Forum / Technical Support / Including php code in template
Author Message
BEN
Member

Posted: 19 Jan 2006 04:57:45


Hi,

I want to addsome php code (and RSS news feed) into the footer........whats the best way to do this with the smarty templates?

Thx

BEN
Member

Posted: 19 Jan 2006 05:44:45


According to the smart site, this should work:

{include_php file="/path/to/script.php"}

But it doesnt :(

Any ideas admin!! :)

skalinks
Admin

Posted: 20 Jan 2006 21:14:27


Hello BEN
Please, insert php code in functional php modules, and use displaying of content in tpl files, w are strongly remocendate to, for example, you can generate some array with RSS in php file, and display it array in tpl file.
Thank you BEN!