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

0 Members and 1 Guest are viewing this topic.

WarMaker

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


tnx...
Logged

RatKing

  • 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....
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
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.

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 20 queries.