about customize theme about customize theme
 

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

about customize theme

Started by Eudemon, July 07, 2011, 12:06:17 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Eudemon

i want to add php codes to template.html
but it wouldn't work unless i change the file to .php

if i do that the site will just show missing a template.html
i've searched the theme directory but didn't find any

so somewhere outside of the theme is calling that html file
where should i look for it?

ΑndrĂ©

You have to put your PHP code to the appropriate function in the theme.php file or tell your webserver to parse html files.