SEO-Board: Free, Fast and Search Engine Optimization Friendly Forum Script
»User: »Password:   Remember Me? 
SEO-Board Forum Software Community / General / Support / parsing includes in the template.htm files
Posted:  10 May 2005 10:06
I want to have an include " <?php include ('file.php'); ?> " in the mainheader.htm file but instead of parsing the php command it just prints the code.

is it possible to do this?
Posted:  10 May 2005 10:34
It is not possible to do it in the template. What does the file.php do? You can run a php script in forumheader.php, save what you need to output in variables and add them to mainheader.htm
Posted:  11 May 2005 03:27
Its just html in the file.php its a header, that is common throughout the site. it would be easier if I could just include the file.php instead of copying it directly into the template.
Posted:  11 May 2005 09:56
It is easier to put it in the mainheader.htm
That's how it's meant to be. Just a copy/paste operation. Another way is to include it in the forumheader.php but I wouldn't do it like that. It is good to keep code/design separated.