Tags:
create new tag
, view all tags

Question

I just started using TWiki, so please excuse me if I'm posting things incorrectly.
I'm trying to use XpTrackerPlugin variables in INCLUDE: i have a topic, say, MyTopicForInclude which contains, for example, %XPSHOWLOAD{%INCLUDINGTOPIC %} % and I expect that if write somewhere %INCLUDE{MyTopicForInclude} % the result will be the same as writing %XPSHOWLOAD{%TOPIC %} % directly in the topic body. In fact, the plugin variable gets broken, apparently because XPSHOWLOAD is evaluated before INCLUDINGTOPIC, so the plugin subroutine gets called with literally "%INCLUDINGTOPIC %" as a parameter, instead of the including topic name.
Sorry for a clumsy description, I can't create an example here because this plugin is not installed.
Is there any workaroud for this, other than fixing the plugin code?
  • TWiki version:Codev.TWikiRelease01Feb2003, XpTrackerPlugin version 3.1
  • Perl version: 5.8
  • Web server & version:
  • Server OS: Linux
  • Web browser & version:
  • Client OS:

-- ViktorMalakhov - 01 Apr 2003

Answer

Topic revision: r2 - 2003-07-27 - 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.