Context:
I’m trying to make a new tiddler that manages the tiddlers I have open and the info tab in the sidebar. It was progressing quite well although I had encountered some difficulties, but I made the mistake of testing the functioning of my code only in the story river and not in the sidebar. I decided to create a new topic so as not to go off topic in the old one (if anyone is interested: How to put an info tab in the sidebar).
The problem:
For what I’m trying to do I would like to insert a checkbox that enables/disables buttons. The idea is to put a checkbox which modifies a field of the tiddler like this:
<$checkbox field="CloseTiddlersAbility" checked="on" unchecked="off">
<$list filter="[{!!CloseTiddlersAbility}match:[off]]" emptyMessage="""Dis""">En</$list>able buttons</$checkbox>
and to surround the buttons that I don’t want to be displayed anymore with:
<$list filter="[[Open Info]get[CloseTiddlersAbility]] +[match[on]]" variable="ignore">
buttons to be disabled
</$list>
But:
while this works fine in the story river, it doesn’t work in the sidebar. The list filter still works, but not the checkbox.
- Why it doesn’t work in the sidebar? How can i fix it?
P.S. -For inexperienced users, don’t do like me, always try what you want to do in its final destination