Eric, I'll have to read more to understand exactly why, but that did it! Thanks for the help!
- Mark On Wednesday, February 3, 2021 at 11:27:21 AM UTC-7 Eric Shulman wrote: > On Wednesday, February 3, 2021 at 10:06:05 AM UTC-8 mmiller wrote: > >> I am utilizing the reveal widget through a template (see below). This >> template is being used by many tiddlers. >> > ...when I toggle the button for the reveal widget it is universally >> toggling every tiddler utilizing the template. >> > <$reveal type="nomatch" state="$:/state/SampleReveal2" text="show"> >> <$button set="$:/state/SampleReveal2" setTo="show" >> class="NestRevealButton">View Goals >> </$button> >> </$reveal> >> >> <$reveal type="match" state="$:/state/SampleReveal2" text="show"> >> <$button set="$:/state/SampleReveal2" setTo="hide" >> class="NestRevealButton">Hide Goals</$button> >> <$scrollable class='tc-scrollable-browse'> >> <$list filter='[tag<currentTiddler>level[GOAL]sort[title]]'> >> <$link><$view field='title'/></$link><br> <$view field='language'/> >> <br> </$list> >> </$scrollable> >> </$reveal> >> > > You need to use the <<qualify>> macro to generate a unique state tiddler > title for each reveal. > *(see https://tiddlywiki.com/#qualify%20Macro > <https://tiddlywiki.com/#qualify%20Macro>)* > > Thus, instead of using "$:/state/SampleReveal2", you would use <<qualify > "$:/state/SampleReveal2">>, like this: > <$reveal type="nomatch" state=*<<qualify "$:/state/SampleReveal2">>* > text="show"> > <$button set=*<<qualify "$:/state/SampleReveal2">>* setTo="show" > class="NestRevealButton">View Goals > </$button> > </$reveal> > > <$reveal type="match" state=*<<qualify "$:/state/SampleReveal2">>* > text="show"> > <$button set=*<<qualify "$:/state/SampleReveal2">>* setTo="hide" > class="NestRevealButton">Hide Goals</$button> > <$scrollable class='tc-scrollable-browse'> > <$list filter='[tag<currentTiddler>level[GOAL]sort[title]]'> > <$link><$view field='title'/></$link><br> <$view field='language'/> <br> > </$list> > </$scrollable> > </$reveal> > > enjoy, > -e > -- 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/6739ebd0-a9e5-4ae5-b334-fba58837bb33n%40googlegroups.com.

