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 a .shtml file for the template rather than an .html file  (Read 3510 times)

0 Members and 1 Guest are viewing this topic.

delan

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Using a .shtml file for the template rather than an .html file
« on: January 03, 2005, 05:36:37 am »

I am trying to make the template.html file a .shtml file. I have a few include tags I would like to use. how can i configure coppermine to read the .shtml file?
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Using a .shtml file for the template rather than an .html file
« Reply #1 on: January 03, 2005, 05:49:25 am »

You should use theme.php if you want to include files. Please read the docs.
Logged

delan

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Using a .shtml file for the template rather than an .html file
« Reply #2 on: January 03, 2005, 05:33:11 pm »

so its not possible to change the file?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Using a .shtml file for the template rather than an .html file
« Reply #3 on: January 04, 2005, 05:36:57 am »

changing the extension of the file template.html will not change anything, no. The extension of the file doesn't matter, neither php nor ssi can be used with it. That's why TranzNDance suggested any files you want to include should go into theme.php. Refer to the threads http://forum.coppermine-gallery.net/index.php?topic=13001.0 or http://forum.coppermine-gallery.net/index.php?topic=9863.msg44419#msg44419 as examples on how to integrate/include files.
Searching the board for the term "custom header" would have shown similar results.

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.