As tpl from what I can find, was developed by Smarty for Smarty as a template system, to define a difference between html which requires a header and tpl which doesn’t; most of my modules and development is done in tpl now, as are a few other developers on here.
So here is how to add tpl to an existing XOOPS system:
In the file class/xoopslists.php find this line:
preg_match( "/(.htm|.html|.xhtml)$/i",
Add to the end of it tpl like so:
preg_match( "/(.htm|.html|.xhtml|.tpl)$/i",
This will mean both tpl templates and html templates can be installed as normal and work together, if you like.
A few of the reason I have swapped to tpl:
1) No header as mentioned, which when you have many blocks each using a html file, which all think they need more weight then they do, the difference is noticeable.
2) The files are defined in your home computer for software and not a browser, though html and tpl are virtually the same other then resources used to make a template (tpl) from them. So too change and see what it looks like in a browser, you can just simply save it as html when needed.
3) They seem to be copied easier by Smarty with less disk movement (heard with my own system experimentation).
4)……….?
If you need software to edit them I recommend
Weaverslave as it is free and easy to find stuff quick….plus automatically links with
Top-Style Lite, which has a full CSS list and is also free…