PDA

View Full Version : Using PHP in Templates...


evenmonkeys
09-21-2005, 03:38 AM
Is it possible... and if so... can someone describe to me how I can use php in my header and footer.

For example... I have a website that I am using and I have the navigation bar defined by...

<?php require_once("inc/nav.php"); ?>

How might I be able to use that in the header on my forums?

Marco van Herwaarden
09-21-2005, 04:14 AM
You can not put that in a template. You might want to put it in a hook though.

evenmonkeys
09-21-2005, 04:29 AM
Hate to sound like a complete idiot, but where would the location be? I can create the plug-in, but I'm not sure where to put it. As of now, it directly follows the site logo.