[tw] Re: [TW5] - Is it possible to toggle a tag with a button?

2015-04-08 Thread Dmitry Skopa
Thank you, Eric! It works! Now I know what fieldmangler is for. I just thought button can do all the job. Like for setting filed value: <$button set="!!status" setTo="completed">Complete! On Wednesday, April 8, 2015 at 11:52:33 PM UTC+3, Eric Shulman wrote: > > On Wednesday, April 8, 2015 at 1

[tw] Re: [TW5] - Is it possible to toggle a tag with a button?

2015-04-08 Thread Eric Shulman
On Wednesday, April 8, 2015 at 12:54:48 PM UTC-7, Dmitry Skopa wrote: > > Let's take a task list example: > > <$list filter="[!is[system]tag[tasks]!tag[done]sort[-modified]]"> > > <$button class="btn-invisible" message="tw-add-tag" > param="done">Done! > <$link to={{!!title}}><

[tw] Re: [TW5] - Is it possible to toggle a tag with a button?

2015-04-08 Thread Danielo Rodríguez
El miércoles, 8 de abril de 2015, 21:54:48 (UTC+2), Dmitry Skopa escribió: > > Hello, Stephan > > Could you please point me how to do the same inside a list? > Probably because you are putting something into the param. This overrides the default parameter that is the tiddler title that should b

[tw] Re: [TW5] - Is it possible to toggle a tag with a button?

2015-04-08 Thread Dmitry Skopa
Hello, Stephan Could you please point me how to do the same inside a list? Let's take a task list example: <$list filter="[!is[system]tag[tasks]!tag[done]sort[-modified]]"> <$button class="btn-invisible" message="tw-add-tag" param="done">Done! <$link to={{!!title}}><$view fie

[tw] Re: [TW5] - Is it possible to toggle a tag with a button?

2014-02-11 Thread Stephan Hradek
Am Mittwoch, 12. Februar 2014 06:21:29 UTC+1 schrieb Leo Staley: > > > How did you do that then? is there a list of which tiddlers can set and > remove tags? are there other lists of tiddlers classified by > functionalities like that? > I just checked the edit templates because you can edit t

[tw] Re: [TW5] - Is it possible to toggle a tag with a button?

2014-02-11 Thread Leo Staley
Hey Stephan On Thursday, December 12, 2013 4:22:30 AM UTC-7, Stephan Hradek wrote: > > > Neither me. I just looked into the tiddlers which set and remove tags. > They are buttons anyway. > How did you do that then? is there a list of which tiddlers can set and remove tags? are there other lis

[tw] Re: [TW5] - Is it possible to toggle a tag with a button?

2013-12-12 Thread Ton Gerner
Hi Stephan, Just for the record. I added your code - adapted to my case - to the Style 'wide' tiddler at [1]. Clicking the triangle toggle button accomplishes now the same as the checkbox in the SiteTitle. Now I can simplify my 'toggle sidebar' button in my guide [2]. Thanks again. Cheers, To

[tw] Re: [TW5] - Is it possible to toggle a tag with a button?

2013-12-12 Thread Stephan Hradek
Am Donnerstag, 12. Dezember 2013 09:46:39 UTC+1 schrieb Ton Gerner: > > Hi Stephan, > > Thanks a lot; that is exactly what I wanted. > Never thought of that strange named widget and even if I had thought of > it, I could not have done it ;) > > Neither me. I just looked into the tiddlers which s

[tw] Re: [TW5] - Is it possible to toggle a tag with a button?

2013-12-12 Thread Ton Gerner
Hi Stephan, Thanks a lot; that is exactly what I wanted. Never thought of that strange named widget and even if I had thought of it, I could not have done it ;) Thanks again. Cheers, Ton On Wednesday, December 11, 2013 11:34:46 PM UTC+1, Stephan Hradek wrote: > > Yes… > > <$fieldmangler> >

[tw] Re: [TW5] - Is it possible to toggle a tag with a button?

2013-12-11 Thread Stephan Hradek
Yes… <$fieldmangler> <$list filter="[is[current]tag[MeTag]]"> <$button message="tw-remove-tag" param="MeTag">remove MeTag <$list filter="[is[current]!tag[MeTag]]"> <$button message="tw-add-tag" param="MeTag">add MeTag -- You received this message because you are subscribed t