I've seen a few "proof of concept" macros in this forum and was wondering exactly how I would use them..?
Like, I have copied a chat macro I found that I was wanting to look at and tweak up a bit...
<html>
<body>
{{if| {{and|{{?name}}|{{?text}} /and}} |{{\
{{append|chat.html|<br>{{time}} --- <b>{{?name}}</b>> {{?text}}
/append}}
/}} /if}}
<form name=frm>
Name <input name=name value="{{?name}}">
<p>Text <input name=text>
<p><input type=submit>
</form>
<script>document.frm.text.focus();</script>
<a href="{{get|url|text=}}">REFRESH</a>
<hr>
{{load|chat.html}}
</body>
</html>
So would I put this in a file named "chat.html" or add it into the hfs template, or make a new virtual folder and put it in the "diff template" for the folder?
I've tried all of those anyways though, but I always turn up with about the same thing, except when I put it in the HFS template. When I do that, nothing really happens.
I have my site up, and the page is on there.. if it's alright I'll post it. If not, just tell me to remove it and I will..
Here it is :
Chrisp6825.co.nr/chat/Right now It's set to the "diff template" for a virtual folder on the root of the site called "chat". All I have in the "diff template" is that code that I posted.
Any help is really appreciated!