Ok, I figured that out:

\define tag() My Tag Here
\define item() My Item Here
 <$set name="isTagging" value="tag" emptyValue="item"
filter="[all[current]tagging[]]">
  <$macrocall $name=<<isTagging>> />
 </$set>

Now I'm not sure how to keep a popup from closing when I click on a child
tag, and then close it when I click on a tiddler that's not a tag it would
close.
Thanks,
-Arlen

On Wed, Mar 30, 2016 at 5:00 PM, Arlen Beiler <[email protected]> wrote:

> Hello everyone,
> I am trying to make a tag button that has child tag buttons in its popup.
> The most obvious way to do this is to set a variable based on whether a
> filter is empty or not. But I'm not sure how to specify which items show
> when. Something like this (this does not work):
>
> <$set name="isTagging" value="tag" emptyValue="item"
> filter="[all[current]tagging[]]">
> <$reveal state=<<isTagging>> type="match" text="tag">
>
> </$reveal>
> <$reveal state=<<isTagging>> type="match" text="item">
>
> </$reveal>
> </$set>
>
> Thanks,
> -Arlen
>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSTLUswACKPg0hOd2P-UwNj9BNv0jzO5F4nnozTiqZymQA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to