Topic: Using php include in templates

Hi.

I got some include files that I´m using on my website, and I want to include them on the forum pages as well. I´m using main.tpl and tried php include, but I couldn´t  get it to work.

Is it doable? Or should I include it in some other way?

/Mattias

/Mattias
Project manager Ett Annat Lopp
http://www.ettannatlopp.nu

Re: Using php include in templates

Try this in your template: <pun_include "file.php">

See faq.html for more info.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Using php include in templates

Thanks. I´ll look in to it.

/Mattias

/Mattias
Project manager Ett Annat Lopp
http://www.ettannatlopp.nu