Tags:
create new tag
, view all tags

Question

I am trying to find a clean way to use Plugins.ActionTrackerPlugin.

For each "set" of actions, I want to have several separate pages:

  • All Actions (where the entry form puts things)
  • Only Open Actions
  • Only Closed Actions

For each "set" of actions, I need to define 5 variables:

  • ACTIONTRACKERPLUGIN_EXTRAS
  • ACTIONTRACKERPLUGIN_TABLEHEADER
  • ACTIONTRACKERPLUGIN_TABLEFORMAT
  • ACTIONTRACKERPLUGIN_EDITHEADER
  • ACTIONTRACKERPLUGIN_EDITFORMAT

I do not want to repeat the variable settings on each page. I want to set these in one place (but not in WebPreferences because another set of tasks will use different settings).

It is not possible to INCLUDE Set commands. In theory, it is possible to use SpreadsheetPlugin's SET. In Practice, this does not work. ActionTrackerPlugin doesn't recognize the settings.

I have tried INCLUDing only the rhs of the setting.

 * Set ACTIONTRACKERPLUGIN_TABLEHEADER = %INCLUDE{"ActionTrackerConfig" pattern="^.*<\!-- BEGIN_TABLEHEADER -->(.*?)<\!-- END_TABLEHEADER -->.*"}%
I have tried SpreadsheetPlugin with and without GET.
%CALC{$SET(ACTIONTRACKERPLUGIN_TABLEHEADER, | BU |  Assigned to | Due date | If Multiple  | Summary | Description & Notes | State |)}% 

I have tried many things. ActionTrackerPlugin ignores or confuses everything I try.

 * Set ACTIONTRACKERPLUGIN_TABLEHEADER =%CALC{$GET(ACTIONTRACKERPLUGIN_TABLEHEADER)}%
VickiBrown20070904.jpg

Has anyone found a workaround? I want to be able to configure this plugin from a single shared location.

Environment

TWiki version: unspecified
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, ActionTracker
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Plugins

-- VickiBrown - 05 Sep 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Is there a reason you can't use the parameter values on the %ACTIONSEARCH to set all those values? If you can, then you could write something like: %ACTIONSEARCH{%INCLUDE{ParamSettings}%}%

-- CrawfordCurrie - 22 Sep 2007

Well, it would be pretty messy, but I guess I could do this for TABLE format and header. However, the docs say that "To define non-standard attributes you need to set the value of EXTRAS in this topic (or to the WebPreferences topic of each web)". So I don't think a PARAM is going to help me there. And it doesn't look like there's a param for EDITHEADER or EDITFORMAT either. So I could handle 2 of the 5 in the param string. That isn't a win, I'm afraid.

-- VickiBrown - 28 Sep 2007

Sorry, closing this after more than 30 days of inactivity. Please feel free to re-open if needed.

-- PeterThoeny - 01 Nov 2007

 
Change status to:

Topic attachments
I Attachment Action Size Date Who Comment
JPEGjpg VickiBrown20070904.jpg manage 10.9 K 2007-09-05 - 22:39 VickiBrown screenshot
Topic revision: r5 - 2007-11-01 - PeterThoeny
 
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.