For the forum tqTag to display effectively, you also need to define a forumCreateBunch tqTag.
<tqtag name="createBunch0" type="forumCreateBunch" title="createBunch" >
...
</tqtag>
Example 1 - basic use of forumCreateBunch tqtag
<tqtag name="createBunch0" type="forumCreateBunch" title="createBunch" >
<form method="post" action="@action@" enctype="multipart/form-data">
<div>Thread Title: <input type="text" name="title" id="title" /></div>
<div>Thread Content: <textarea name="content" id="content" style="width:99%;height:300px;"></textarea></div>
<button type="submit">Submit</button>
</form>
</tqtag>
Example 2 - advanced use of forumCreate bunch with alternative for users that hadn't logged in. please see alternative tqtag for more information about using alternatives
<tqtag name="forum0" type="forum" maxItems="10" title="forum place holder" >
<tqtag name="alternative1" type="alternative" >Please register in order to use the forum</tqtag>
<tqtag name="createBunch0" type="forumCreateBunch" title="createBunch" alternativeTag="alternative1" alternativeCondition="isNotLoggedIn" >
<form method="post" action="@action@" enctype="multipart/form-data">
<table>
<tr>
<td colspan="2">
<h2><tqoption type="isNewBunch" alternative0="Add response to thread: @bunchSubject@">{!Create new thread!}0</tqoption></h2>
</td>
</tr>
<tr>
<td>Author</td><td>@custfName@ @custlName@</td>
</tr>
<tr>
<td>Thread Title</td><td><input type="text" name="title" id="title" /></td>
</tr>
<tr>
<td>Thread Content</td><td><textarea name="content" id="content"></textarea></td>
</tr>
<tr>
<td colspan="2" align="center"><button type="submit">Submit</button></td>
</tr>
</table>
</form>
</tqtag>
</tqtag>
Within the forumCreateBunch tqtag you can use the following tqoptions:
isNewBunch,
if.