Its just a very simple one to run a test on some functions.
Right now its just:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<!--{.comment|--><h1 style='margin-bottom:100em'>WARNING: this template is only to be used with HFS 2.3 (and macros enabled)</h1> <!--.} -->
<html>
<head>
</head>
<body>
<div>
{.set|%aa1%|1.}
%aa1%
{.inc|%aa1%|2.}
%aa1%
{.inc|%aa1%.}
%aa1%
</div>
</body>
</html>
I've tried many different templates in this file. None of them load. ...well, maybe load, but don't get applied. I also have a folder which when it matches a url pattern, the macros.log says it loads, but it doesn't get applied.
clip from hfs.tpl:
</div>
</body>
</html>
[special:begin]
{.if|{.and|{.or|{.match address|127.0.0.1|%ip%.}|{.match address|192.168.1.1|%ip%.}.}|{.count substring|temporary_test_pages|%url%.}.}|{:{.load|test.tpl.}:}.}
[not found]
<h1>{.!Not found.}</h1>
<a href="/">{.!go to root.}</a>
clip from macros.log:
---
> %ip%
< 192.168.1.1
> %ip%
< 192.168.1.1
> %url%
< /temporary_test_pages/inc_test/
> match address|127.0.0.1|192.168.1.1
<
> match address|192.168.1.1|192.168.1.1
< 1
> or||1
< 1
> count substring|temporary_test_pages|/temporary_test_pages/inc_test/
< 1
> and|1|1
< 1
> if|1|{:{.load|test.tpl.}:}
< {.load|test.tpl.}
> load|test.tpl
< <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250">
<meta name="generator" content="PSPad editor, www.pspad.com">
<title></title>
</head>
<body>
</body>
</html>