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:

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]

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