@Eric, http://tiddlywiki.com/#RevealWidget - Conditional Variable 
Assignment: 'This form of the set variable widget chooses one of two 
specified values according to whether a filter evaluates to an empty list'
It works nicely with default=<<var>> (thanks again Felix)
Cheers

On Thursday, 6 August 2015 20:55:18 UTC+1, Eric Shulman wrote:
>
> On Thursday, August 6, 2015 at 12:30:07 PM UTC-7, GBNeil wrote:
>>
>> could someone put me out if my misery pls!?!
>> <$set name=var filter="[tag[urgent]]" value="show" emptyValue="hide">
>> <$reveal type="match" state=<<var>> text="show">
>> ` state=<<var>> not recognised despite var being set to "show" `
>> <<var>>
>> </$reveal>
>> </$set>
>>
>
>
> 1) $set widget can use value="..." or filter="...", but **not both**
> 2) The state="..." param is supposed to be a TiddlerTitle, not an actual 
> state value
>
> It's not 100% clear to me what you are trying to accomplish, but... it 
> seems like perhaps you are trying to conditionally display some content if 
> the current tiddler is tagged with "urgent".  If this is the case, then use 
> the <$list> widget, like this:
>
> <$list filter="[all[current]tag[urgent]">
>    this content appears only when current tiddler is tagged with "urgent"
> <$list>
>
>
> enjoy,
> -e
> Eric Shulman
> ELS Design Studios
> TiddlyTools - "Small Tools for Big Ideas!"
> InsideTiddlyWiki: The Missing Manuals
>
> YOUR DONATIONS ARE VERY IMPORTANT!
> HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
>    http://TiddlyTools.github.com/fundraising.html#MakeADonation
>
> Professional TiddlyWiki Consulting Services...
> Analysis, Design, and Custom Solutions:
>    http://www.TiddlyTools.com/#Contact
>
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8d61a44c-d771-45ff-a337-4bea140eb343%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to