Question
I am trying to build a quick form to allow people to add new ACTIONS using the
ActionTrackerPlugin. The goal is to not have to teach everyone the syntax for an ACTION and have them fill in the form and press a button.
I am using the
CommentPlugin and the %ACTION{...}% is being expanded from the template. Instead of getting a line with the syntax for an action, it is being expanded and I get the javascript normally used as part editing an ACTION.
How do I insert my line containing %ACTION{...}% into the TOPIC without having it already expanded and executed?
I thought the variables that would be expanded were limited to WIKIUSERNAME, DATE and URLPARAM. I have also tried multiple combinations of %NOP% without success.
Thanks.
Environment
--
RonCalhoun - 18 Feb 2005
Answer
There was a known problem with the Comment plugin that made it do this. It depends on what version of the Comment Plugin you are using. I just tried this on my local Cairo install:
%ACTION{ uid="000003" due="20-Feb-2005" created="20-Feb-2005" creator="Main.TWikiGuest" state="open" who="Main.FredBlogs" }% <<EOF
- Created by Main.TWikiGuest, 20 Feb 2005 09:38:59
EOF
%COMMENT{type="action"}%
The action was created by the Comment.
Action tracker version 2.021, Comment plugin version 3.009
--
CrawfordCurrie - 20 Feb 2005