Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, ActionTrackerPlugin, BugzillaQueryPlugin, CommentPlugin, ConditinalPlugin, EditTablePlugin, InterwikiPlugin, NotifyOnChildModificationPlugin, ProjectPlannerPlugin, SpreadSheetPlugin, TablePlugin, XpTrackerPlugin
Server OS: Free BSD 4.10
Web server: apache 1.3
Perl version: 5.6.1
Client OS: Win XP Pro
Web Browser: IE 6
Categories: Plugins

-- 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

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2005-04-08 - SanjayChitnis
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.