Monday 24 September 2007 11:08:25 am
Hi people, I created a site in which anonymous users can post comments on articles, but I want them to be approved before being published. I created a workflow using ezapprove which allow a group of user to approve the comment before it is published (in the collaboration page). The little tiny problem is that the anonymous user who post a comment is not notified that is comment is waiting for approval. So he is redirected to the article page and doesn't see his comment. What he does then? he post it again, and then thinks "comment posting doesn't work, this site is crap". (I guess he thinks that) The best for me would be to redirect to the article on which I use a custom template starting with something like
{section show=$waiting_approval}
<div class="message-feedback">
<h2> {'Your comment is waiting for approval before being published.'|i18n( 'some/thing' )}</h2>
</div>
{/section}
But how can I set this $waiting_approval variable ?? Or maybe I can just add another event in the workflow before the ezapproval which shows a page to the user saying the comment is waiting for approval, and then let the workflow continue ?? What you think is the better way ? Or is there a easier way ?
Thanks Patrice
|