Advanced search  

News:

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.
[more]

Pages: [1]   Go Down

Author Topic: about customize theme  (Read 3073 times)

0 Members and 1 Guest are viewing this topic.

Eudemon

  • Coppermine newbie
  • Country: us
  • Offline Offline
  • Posts: 11
    • Eudemon
about customize theme
« on: July 07, 2011, 12:06:17 am »

i want to add php codes to template.html
but it wouldn't work unless i change the file to .php

if i do that the site will just show missing a template.html
i've searched the theme directory but didn't find any

so somewhere outside of the theme is calling that html file
where should i look for it?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: about customize theme
« Reply #1 on: July 14, 2011, 09:56:57 am »

You have to put your PHP code to the appropriate function in the theme.php file or tell your webserver to parse html files.
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 20 queries.