coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: Eudemon on July 07, 2011, 12:06:17 AM

Title: about customize theme
Post by: Eudemon on July 07, 2011, 12:06:17 AM
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?
Title: Re: about customize theme
Post by: ΑndrĂ© on July 14, 2011, 09:56:57 AM
You have to put your PHP code to the appropriate function in the theme.php file or tell your webserver to parse html files.