Using PHP in template.html Using PHP in template.html
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Using PHP in template.html

Started by WarMaker, October 09, 2004, 04:56:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

WarMaker

Hi, How can I enable PHP in the template.php ? I want to change the theme, but PHP code doesn`t work.. whatr can I do?


tnx...

RatKing

Do you really need php in the template.html file?

I have done a few templates for various people but never have I had the need to put php in template.html.

You could how ever have a look in function.php (I think) as that is where the template.html is read....

Joachim Müller

I'm with RatKing on this issue, but if you must have PHP in template.html, there's a mod as well that enables html in templates, search the mods board.

Joachim