maybe some poor guy will be as stupid as me,
so i write the steps down so anyone can follow them.
1. in manager: create a folder named "Guestbook". Use "UserComments" as Snippet. no caching.
this is my function call:
[[UserComments? &formtpl=`guestbookformtpl` &displaytpl=`guestbookdisplaytpl` &dateformat=`%d.%m.%Y um %H:%M Uhr`]]
NOTE THE BACKTICKS!
2. create two chuncks, one is called "guestbookformtpl" and one "guestbookdisplaytpl".
my formtemplate:
<form method="post" action="[~[*id*]~]">
<input name="[+tagname+]" type="hidden" value="on" />
Name:<br /><input name="name" type="text" size="40" value="" /><br />
Email:<br /><input name="email" type="text" size="30" /><br />
Website:<br /><input name="website" type="text" size="40" value="http://" /><br />
Kommentar:<br /><textarea name="comment" cols="50" rows="8"></textarea><br />
<input name="send" type="submit" value="Submit" />
</form>
my displaytemplate:
[+UID:[+uid+]+]<div[+postclass+]>
<div[+titleclass+]>
Von <strong><a href="mailto:[+email+]">[+name+]</a></strong>, am [+createdon+]<br/>
Website: <a href="[+website+]" target="_blank">[+website+]</a> <br/>
</div>
<div class="content">
[+comment+]
</div>
</div><br/>
now customize!