Thursday 23 February 2006 2:16:14 am
Can i do the same thing with the number of articles and their relevant entries.
Yes, you can define in approve event section which will be affected by approve mechanism. Lets say you have section News, someone will publish comment in this section then administrator must approve it. It doesn't matter if this is one folder or many, but everything must be around section specified in workflow event. Check on template level, if user can create object or not then display "Post reply" button.
{if $node.object.can_crate}
<form method="post" action="/content/action">
<input type="hidden" name="NodeID" value="{$node.node_id}" />
<input type="hidden" name="ClassID" value="CLASS_ID_OF_FORUM_MSG" />
<input class="button" type="submit" name="NewButton" value="Post reply" />
</form>
{/if}
Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog
|