Tags:
create new tag
view all tags

SID-01151: Twiki variable inside twisty for start mode not working

Status: Answered Answered TWiki version: Perl version:
Category: CategoryAddOns Server OS: Last update: 14 years ago

I am trying to use a twiki variable inside a twisty. I set VARIABLE = show. When I have link="$percntVARIABLE$percnt" inside the twisty, it works. It shows a twisty where the link reads "show". But when I set start="$percntVARIABLE$percnt", it does not work. The twisty starts on "hide" mode. Couldn't find the answer anywhere so far.

-- CelineLai - 2011-04-20

Discussion and Answer

Why not use %VARIABLE% (for both)? Seems to work. It probably has to do with the rendering order. You don't need to escape it with a straight twisty.

-- AaronLWalker - 2011-05-12

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2011-07-08

      Change status to:
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.
SupportForm
Status Answered
Title Twiki variable inside twisty for start mode not working
SupportCategory CategoryAddOns
TWiki version

Server OS

Web server

Perl version

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2011-07-08 - 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.