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: about customize theme  (Read 3104 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.017 seconds with 19 queries.