Using a .shtml file for the template rather than an .html file Using a .shtml file for the template rather than an .html file
 

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

Main Menu

Using a .shtml file for the template rather than an .html file

Started by delan, January 03, 2005, 05:36:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

delan

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?

Tranz

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

delan


Joachim Müller

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