This project is no longer active.

simple HTML Templating - config

Configuration

There are a few things you can change if you like. At the beginning of each library file are some configuration variables.

You can change what character will identify the template tags (default is '=') and how many of this characters to use (default is 2 – '=='). In the same way you can change how comments will look like (default: 2x '#' – '##').

Now you can configure more. See the library code (simpleht.php/.asp) and you'll see the configuration right in the beginning of the file. You can set all those characters identifying each type of the template variables. It should work with any characteres but if it would for some reason stop working, try using chars that has no spacial meaning in regular expressions.

If you for some reason want to change the whole look of the variable and loop tags, you can go into the code and change the regular expressions that are used to look up the tags in the template. You should know what you are doing and be careful. You will not damage your data or something but the engine can stop working or behave weirdly.

SourceForge.net Logo

DOWNLOAD
last version: 0.2.1

» » news « «

changes.txt

2007-12-25:
Closed officially. Finally. See more

2004-03-19:
A small fix, see changelog.

2004-03-06:
Second version is comming after a while with many news.

2003-08-17:
First vesion is out!