Hi,
Try the attached template tiddler.
\define toggle-urgent()
<$action-listops $tiddler={{!!title}} $field="tags"
$subfilter="+[toggle[urgent]]" />
\end
<$button actions=<<toggle-urgent>> >
<$list
filter="[all[current]tag[urgent]then[★]else[☆]]"><<currentTiddler>></$list>
</$button>
You can call it with {{|| my-toggle-template}}
If you want to hide the button use: <$button *class="tw-btn-invisible"*
actions=<<toggle-urgent>> > ... you will only get the star.
have fun!
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/c4366b2b-3381-4847-8b41-f8b72edf8ebfn%40googlegroups.com.
my-toggle-template.json
Description: application/json

