1

Topic: PHP in template file not interpreted

Hi, I'm trying to include php in the template file main.tpl, and it seems that it does not get interpreted; i got the php script in the resulting html file. This might be due to the name of the template file, main.tpl; a solution would be to rename the template fiel main.tpl.php... what do you think?

Re: PHP in template file not interpreted

What do you want to do? Practically everything can be achieved by replacing the blocks <pun_body>, <pun_title> and so on at header.php.

Re: PHP in template file not interpreted

Read faq.html regarding including PHP code in the templates.

[topic moved]

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