PDA

View Full Version : PHP includes in Template?


jirving
09-29-2003, 06:59 AM
Can we have any php code in the templates file. I suspect not since it is an XML file.

Our site is broken into several parts and assembled using php includes. I would like to see the template updated along with any content on the rest of the site.

Thanks

Charter
09-29-2003, 03:37 PM
Hi. PHP cannot be in templates directly, but there are two methods for including PHP in templates via the PhpDig tags here (http://www.phpdig.net/showthread.php?threadid=74).