Tags:
create new tag
, view all tags

Question

I am playing in our sandbox with additional states for the actions, but the example from the documentation does not give me more choices in the drop-down for state. The setting is:

* Set EXTRAS = |state,select,1,"open","fried","boiled","poached","closed"|

I have tried adding this to the web preferences of the sandbox as well as the topic where I created the actions, but to no awail.

Apart from this the plugin seems to work just fine, with searches in the actions and all.

Any clues?

Thanks in advance /Torben

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Fedora Core 2.
Web server: ?
Perl version: ?
Client OS: MS Windows XP pro
Web Browser: Firefox 0.9.1, IE 6.0

-- TorbenHoffmann - 11 Aug 2004

Answer

I just tried it on my local installation, and it works just fine for me. Some questions:

  1. Are you sure you got the variable setting syntax right? three spaces-*-space-Set-space-EXTRAS-space-=
  2. You don't say where you set the EXTRAS variable. It has to be set in the ActionTrackerPlugin topic
Apart from that, I don't know what to suggest.

-- CrawfordCurrie - 14 Aug 2004

Follow-up

I have checked the things you suggest:

  1. Syntax is right - by luck, but never mind that now...
  2. The EXTRAS variable was set in the webpreferences of the sandbox web just as it is decribed in the documentation and this just doesn't work.

However if I set EXTRAS in the ActionTrackerPlugin topic has you suggest it works just fine!

Is the documentation off or am I reading it wrong? I'd really like to be able to customise the states for the different webs we create instead of having one size for all.

-- TorbenHoffmann - 24 Aug 2004

Ah, OK. Thanks to the nasty way plugin variables work in TWiki, the variable EXTRAS defined in the plugin home topic has to be referred to as ACTIONTRACKERPLUGIN_EXTRAS everywhere else (secret scoping rule frown ) So to set EXTRAS in your webpreferences, you have to set ACTIONTRACKERPLUGIN_EXTRAS. That's probably your problem.

-- CrawfordCurrie - 25 Aug 2004

Topic revision: r5 - 2004-09-10 - CrawfordCurrie
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.