Advanced search  

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

Pages: [1]   Go Down

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

0 Members and 1 Guest are viewing this topic.

nickweb

  • 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?

Thanks,

Nick
Logged

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.
Logged
--- "Its Nice 2 BE Important but its more Important 2 Be NICE" ---
Follow Coppermine on Twitter
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.