Advanced search  


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.

Pages: [1]   Go Down

Author Topic: Using PHP in template.html  (Read 2023 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Using PHP in template.html
« 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?



Aditya Mooley

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 781
    • My Sweet Home
Re: Using PHP in template.html
« Reply #1 on: January 20, 2005, 12:41:53 pm »

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
Pages: [1]   Go Up

Page created in 0.026 seconds with 20 queries.