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)}%
Has anyone found a workaround? I want to be able to configure this plugin from a single shared location.
Environment
--
VickiBrown - 05 Sep 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is 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