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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Using PHP in template.html

Started by nickweb, January 20, 2005, 11:11:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nickweb

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

Aditya Mooley

Search the forum for "custom headers". Make it a habit to search before posting anything.
--- "Its Nice 2 BE Important but its more Important 2 Be NICE" ---
Follow Coppermine on Twitter