Topic: Include in main.tpl

hallo,

i am testing punbb scripts. i'm trying to put this ssi code

<?php
include ("menu.txt");
?>

but it doesn't load in mainpage. do anyboady know how i can put that ssi code in main.tpl?

thnx

Re: Include in main.tpl

Have a look in faq.html. The replacement tag for including files in the templates is pun_include, i.e.

<pun_include "menu.txt">

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

Re: Include in main.tpl

it works smile

thnx