SID-01151: Twiki variable inside twisty for start mode not working
| Status: |
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
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.