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 3682 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Using PHP in template.html
« on: October 09, 2004, 04:56:52 pm »

Hi, How can I enable PHP in the template.php ? I want to change the theme, but PHP code doesn`t work.. whatr can I do?



  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 85
    • Personal website
Re: Using PHP in template.html
« Reply #1 on: October 09, 2004, 05:52:47 pm »

Do you really need php in the template.html file?

I have done a few templates for various people but never have I had the need to put php in template.html.

You could how ever have a look in function.php (I think) as that is where the template.html is read....

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
Re: Using PHP in template.html
« Reply #2 on: October 10, 2004, 11:52:28 am »

I'm with RatKing on this issue, but if you must have PHP in template.html, there's a mod as well that enables html in templates, search the mods board.

Pages: [1]   Go Up

Page created in 0.017 seconds with 20 queries.