Below is the setting that places this topic under approval control. * Set APPROVALDEFINITION = ApprovalDefinitionExample We can now use any of the =%<nop>APPROVAL{...}%= tags in this topic: * Show the state message * ==%<nop>APPROVAL{"statemessage"}%== * %APPROVAL{"statemessage"}% * Show a preference setting defined in the definition topic * ==%<nop>APPROVAL{"pref" name="MYPREF"}%== * %APPROVAL{"pref" name="MYPREF"}% * Show the transition form * ==%<nop>APPROVAL{"transition"}%== * %APPROVAL{"transition"}% We can also set a preference for the history format in the following way: * Set APPROVALHISTORYFORMAT = "| $state | $wikiusername | $date |" The history is displayed by using the ==%<nop>APPROVAL{"history"}%== macro. | *State* | *Name* | *Date* | %APPROVAL{"history"}%
This topic: Sandbox
>
ApprovalPlugin
>
ControlledTopicExample
Topic revision: r1 - 2009-05-16 - 19:07:43 -
WikiGuest
Copyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding STALklubben?
Send feedback