Tags:
create new tag
view all tags

Question

I'm trying to see if one can do a conditional display of a text block area.

With Confluence Enterprise Wiki one can use the builder-show macro to do this. http://www.adaptavist.com/display/USERGUIDE/builder-show+macro

{builder-show:mode=view|context=page|label=meetings|metadata=mykey:myvalue} stuff to show {builder-show}

For example I would like to customize an installation document according to a set of parameters a user would choose initially. (i.e. OS, product version, etc) and not show the pieces that are not relevant to that user.

I've been unable to find an equivalent in TWiki. Any suggestions?

Thanks, Erik

Environment

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

-- TWikiGuest - 12 Mar 2007

Answer

ALERT! 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.

Two choices: VarIF and SpreadSheetPlugin's $IF(). See also ParameterizedIncludes feature (VarINCLUDE).

-- PeterThoeny - 13 Mar 2007

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2007-04-25 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.