---+ Discussion Forum Body The part between the horizontal rules gets included by each discussion forum of the DiscussionForum ----- %STARTINCLUDE% [[DiscussionForum][Discussion Forum]] » ---+ %FORMFIELD{ "Name" topic="%INCLUDINGTOPIC%" }% %TABLE{ sort="off" }% <form name="new" action="%SCRIPTURL{save}%/%WEB%/" onsubmit="if( this.Title.value == '' ) { alert('Please enter a title'); this.Title.focus(); return false; } else { return true; }"> | *%FORMFIELD{ "Name" topic="%INCLUDINGTOPIC%" }% topics* | *Last post* | %SEARCH{ "META:FORM.*[D]iscussionTopicForm;META:FIELD.*Forum.*value=.%INCLUDINGTOPIC%" type="regex" excludetopic="DiscussionTopicTemplate" order="created" reverse="on" nonoise="on" format="| %ICONURL{bubble}% <a href=\"%SCRIPTURL{view}%/$web/$topic\" title=\"$summary\">$formfield(Title)</a> <span style=\"font-size: 70%; color: #808080\"> by <nop>$createwikiname </span> | $date by $wikiusername |" }% | Title: <input type="text" name="Title" size="40" value="" /> | <input type="submit" name="send" id="send" value=" Create new topic " /> | <input type="hidden" name="topic" value="%INCLUDINGTOPIC%AUTOINC0001" /> <input type="hidden" name="onlywikiname" value="on" /> <input type="hidden" name="onlynewtopic" value="on" /> <input type="hidden" name="templatetopic" value="DiscussionTopicTemplate" /> <input type="hidden" name="topicparent" value="%INCLUDINGTOPIC%" /> <input type="hidden" name="Forum" value="%INCLUDINGTOPIC%" /> </form> %STOPINCLUDE% ----- __See also:__ DiscussionForum, DiscussionForumForm, DiscussionForumTemplate -- TWiki:Main.PeterThoeny - 28 28 Jul 2007
This topic: Forum
>
DiscussionForum
>
DiscussionForumAdministration
>
DiscussionForumForm
>
DiscussionForumTemplate
>
DiscussionForumBody
Topic revision: r4 - 2007-10-19 - PeterThoeny
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback