forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: nickweb on January 20, 2005, 11:11:00 am

Title: Using PHP in template.html
Post by: nickweb on January 20, 2005, 11:11:00 am
Iv created a table for my gallery to nest in. It works great, except that on the left hand side of the table is a colum for a menu. his menu is called via a php inlcude statement throughout the rest of my site (so i can update the menu centrally), however i cant use PHP in the template.html file. I tried using a .htaccess to parse the html file as php but that didnt work. If i edit theme.php and put the include statement near the top, it works, but the menu is outside of the table (at the top). Because i have put my gallery in a table, i cant find anywhere to put the include statement in theme.php...

So, after all that, the simple question is, how can i use PHP in the template.html file?

Thanks,

Nick
Title: Re: Using PHP in template.html
Post by: Aditya Mooley on January 20, 2005, 12:41:53 pm
Search the forum for "custom headers". Make it a habit to search before posting anything.