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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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