1

Topic: main.tpl

ok, so i have a problem, i want to add some php code to the tpl file, and i noticed that it didnt work ;P, so what i want to do is to add a tag to it like <pun_main> and <pun_footer> for example. i checked in the header.php and i saw those str_replaces, and that function confused me. i want my own tag <potw> to be replaced by:

include 'potw.php';

anyone know how its done?

Re: main.tpl

http://punbb.org/docs/faq.html#faq3_4

3

Re: main.tpl

oh, great man, thanks wink, didnt really think to search there ;P