Hi !
In my modx website i use a forum for the UserComments
( the forum i use is a PunBB forum )
i put a link at the bottom of the pages :
"click here to write a comment"
at the beginning, it was quite long to do this, i had to:
1_ create the topic in the forum
2_ copy the url linking to the topic
3_ paste the url in the web page
but now i use a template variable and it’s far quicker ! :
punbb url’s look like this :
http://www.yoursite.com/yourforumroot/post.php?tid=XXXX
where XXXX is the id of the topic
so you can create a template variable ( a text tv will do it ), called "comment" for example
in your template(s), add somewhere
Click <a href="http://www.yoursite.com/yourforumroot/post.php?tid=[*#comment*]> here </a> to write a comment
the # symbol enables the tv to be edited with Quickedit
it’s done !
Now you only have to create the topic in the forum, remember the id , and add the value to the pages with Quickedit !
( p.s. this will work with every forum, just modify the html code to fit the forum’s url )