%META:TOPICINFO{author="TWikiContributor" date="1148406161" format="1.1" version="1.1"}%
%META:TOPICPARENT{name="TopicFunction"}%
---+ Function: %TOPIC%
%FORMFIELD{"TopicDescription"}%

Note, that this button has view access for the %MAINWEB%.BlogAuthorGroup only.
So this button will only be displayed for users in this group.

See also: RenderNewBlogLinkButton, RenderNewCategoryButton,
RenderNewBlogPageButton, RenderNewTWikiTopicButton

---++ Parameters
   * TEXT: text to be displayed on the button

---++ Implementation
%STARTINCLUDE% 
*~~
<form action="%SCRIPTURLPATH{"edit"}%/%WEB%/BlogEntryXXXXXXXXXX" method="post">
<input type="hidden" name="onlywikiname" value="on" />
<input type="hidden" name="templatetopic" value="BlogEntryTemplate" />
<input type="hidden" name="formtemplate" value="BlogEntryForm" />
<input type="hidden" name="topicparent" value="WebHome" />
<input type="hidden" name="topic" value="BlogEntryXXXXXXXXXX" />
<input type="hidden" name="BlogAuthor" value="%WIKINAME%" />
<input type="hidden" name="TopicType" value="BlogEntry" />
<input type="hidden" name="TopicDescription" value="" />
<input type="hidden" name="action" value="form" />
<input type="hidden" name="Date" value="%SERVERTIME%" />
<input type="submit" class="blogSubmitButton blogEntryButton" value="%TEXT%" />
</form>
*~~
%STOPINCLUDE%
<!-- interrupt glue -->
%DBCALL{"RenderFunctionCallers"}%

See also: BlogEntryTemplate, BlogEntryForm

<!--
   * Set ALLOWTOPICCHANGE = %MAINWEB%.BlogAdminGroup
   * Set ALLOWTOPICVIEW = %MAINWEB%.BlogAuthorGroup
   * Set SIDEBAR = Admin
   * Set SIDEBARARG = TopicFunction
-->


%META:FORM{name="TopicForm"}%
%META:FIELD{name="TopicType" attributes="M" title="TopicType" value="TopicFunction"}%
%META:FIELD{name="TopicDescription" attributes="" title="TopicDescription" value="Renders button to create a new BlogEntry"}%
