Hi,
I've just installed the
XpTrackerPlugin, it seems to "be there". I use .pl for the scripts extension and have set $scriptSuffix = ".pl" in lib/TWiki.cfg. But when I press the buttons like "Project Stories Status" or "Project Tasks Status" on for instance /twiki/bin/view.pl/Tracking/AudioEvent#sorted_table I get a link to /twiki/bin/view/Tracking/XpProjectStoriesStatus where the
.pl is missing after the "view".
This of course means that the application does not run. I'm guessing that the $scriptSuffix is missing in the app section where this status page is called.
Can anyone tell me who can fix this, or if I have to dig for this, how I can get the fix to others ...?
Thanks !!
Bart
--
BartLouwagie - 10 Nov 2004
Found your problem... To fix it, change the Tracking/XpShowWindowScript topic (you can find a link to it in the
XpAdmin page that is linked from
WebHome) to:
%STARTINCLUDE%
<script language="JavaScript">
<!--HIDE
function launchWindow (theWeb, theTopic)
{
win = open ("%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/" + theWeb + "/" + theTopic + "?skin=plain&xptopic=%INCLUDINGTOPIC%",
theTopic, "titlebar=0,width=700,height=480,resizable,scrollbars");
if (win)
{
win.focus();
}
return false;
}
//STOP HIDING-->
</script>
%STOPINCLUDE%
Hope this help.
--
RafaelAlvarez - 10 Nov 2004
Hi Rafael
That is indeed THE fix.
Thanks a million. I made a lot of progress thanks to that fix.
That leads me to a more minor issue: The users in Twiki are typically added under /bin/view.pl/Main/ but the
XpTrackerPlugin users are added under /bin/view.pl/Tracking/ , which leads to the need to define users twice.
I guess the above could be by design, but I would argue it would be nice to have them on the same level or to have that as an option, just in case.
Regards.
Bart
--
BartLouwagie - 11 Nov 2004
If you want to "use" the users in Main, just use Main.
instead of in the developer & reviewer column.
Hmm, I should document this someplace.
-- RafaelAlvarez - 11 Nov 2004
Thx: When going to Edit I understood you probably meant:
If you want to "use" the users in Main, just use Main.username instead of username in the developer & reviewer column. That works
And again another topic:
- When I press the buttons like "Project Stories Status" or "Project Tasks Status" on for instance /twiki/bin/view.pl/Tracking/AudioEvent#sorted_table I do get the really useful table in a daughter windown that has no navigation bottons or address bar. This may look nice but is especially annoying since the daugther's daughter windows (when I click on one of the stories for instance) are also navigationless. So I keep getting caught with sessions where I can't navigate andthen have to close and start all over.
Thx again
-- BartLouwagie - 11 Nov 2004