forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: delan on January 03, 2005, 05:36:37 am

Title: Using a .shtml file for the template rather than an .html file
Post by: delan 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?
Title: Re: Using a .shtml file for the template rather than an .html file
Post by: Tranz on January 03, 2005, 05:49:25 am
You should use theme.php if you want to include files. Please read the docs.
Title: Re: Using a .shtml file for the template rather than an .html file
Post by: delan on January 03, 2005, 05:33:11 pm
so its not possible to change the file?
Title: Re: Using a .shtml file for the template rather than an .html file
Post by: Joachim Müller 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