[tw5] Re: Toggle tags via button and reveal

2021-05-31 Thread TW Tones
Mario, Thanks for demonstrating the use of Unicode characters on this. Unlike svg icons its easy to color them and add them to the view toolbar. Eg in a tiddler tagged view toolbar \whitespace trim \define toggle-urgent() <$action-listops $tiddler={{!!title}} $field="tags"

[tw5] Re: Toggle tags via button and reveal

2021-05-31 Thread PMario
On Monday, May 31, 2021 at 4:29:16 PM UTC+2 JM wrote: > Well, I'm impressed. :-) > It's very nice of you to explain all this and I think I understand the > basic principle. > That's good :-) > After reading the documentation - is there a special reason, that you did > use $field="tags"

[tw5] Re: Toggle tags via button and reveal

2021-05-31 Thread 'JM' via TiddlyWiki
Well, I'm impressed. :-) It's very nice of you to explain all this and I think I understand the basic principle. After reading the documentation - is there a special reason, that you did use $field="tags" $subfilter="+[toggle[urgent]]" instead of $tags="+[toggle[dringend]]"? (just to proof I

[tw5] Re: Toggle tags via button and reveal

2021-05-31 Thread PMario
On Monday, May 31, 2021 at 11:49:48 AM UTC+2 PMario wrote: If you search for "toggle" at tiddlywiki.com you'll find: https://tiddlywiki.com/#toggle%20Operator%20(Examples):%5B%5Btoggle%20Operator%20(Examples)%5D%5D%20%5B%5Btoggle%20Operator%5D%5D The examples already contain the

[tw5] Re: Toggle tags via button and reveal

2021-05-31 Thread PMario
On Monday, May 31, 2021 at 11:20:31 AM UTC+2 JM wrote: > <$reveal type="match" state={{!!title}} tag="urgent"><$button > class='tc-btn-invisible' message="tm-remove-tag" param="urgent > "> > The "tag" parameter in the reveal-widget is meant to be an HTML-tag. eg: or ... So that's the

[tw5] Re: Toggle tags via button and reveal

2021-05-31 Thread 'JM' via TiddlyWiki
Well that fits my needs. Even if I don't have the slightest idea what you have done. :D That will be the next step ... Thank You! PMario schrieb am Montag, 31. Mai 2021 um 11:49:48 UTC+2: > Hi, > Try the attached template tiddler. > > \define toggle-urgent() > <$action-listops

[tw5] Re: Toggle tags via button and reveal

2021-05-31 Thread PMario
Hi, Try the attached template tiddler. \define toggle-urgent() <$action-listops $tiddler={{!!title}} $field="tags" $subfilter="+[toggle[urgent]]" /> \end <$button actions=<> > <$list filter="[all[current]tag[urgent]then[]else[]]"><> You can call it with {{|| my-toggle-template}} If you

[tw5] Re: Toggle tags via button and reveal

2021-05-31 Thread 'JM' via TiddlyWiki
... in the ViewTemplate. I would like to use it as a transclusion in different lists ... PMario schrieb am Montag, 31. Mai 2021 um 11:30:57 UTC+2: > Hi Jens, > Is it intended to be part of the ViewTemplate or the EditTempate? > -mario > > -- You received this message because you are

[tw5] Re: Toggle tags via button and reveal

2021-05-31 Thread PMario
Hi Jens, Is it intended to be part of the ViewTemplate or the EditTempate? -mario -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to