I figured it out how to use variables:

Search:

<div class="tw-search"><$edit-text tiddler="$:/temp/mysearchcrit" type=
"search" tag="input"/><$reveal state="$:/temp/mysearchcrit" type="nomatch"text
=""> <$link to="" class="btn-invisible">{{$:/core/images/close-button}}</
$link></$reveal></div>

<$radio field="mysearchcat" value="button"> button</$radio>

<$radio field="mysearchcat" value="documentation"> documentation</$radio>

<div class="tw-search-results">
//<small><$count 
filter="[tag{!!mysearchcat}search{$:/temp/mysearchcrit}]"/> 
matches</small>//

<$list filter=
"[tag{!!mysearchcat}search{$:/temp/mysearchcrit}sort[title]limit[250]]" 
template="$:/core/ui/ListItemTemplate"
/>
</div>

I have another question, I noticed the following 
http://tw5custom.tiddlyspot.com/
$:/core/ui/AdvancedSearch/Shadows:

<$linkcatcher to="$:/temp/mysearchcrit">
and
</$linkcatcher>

I read the reference for LinkWidget, but still don't understand what they 
do in this context. Can you please explain.

<$linkcatcher to="$:/temp/advancedsearch">

Search for shadow tiddlers:

<div class="tw-search"><$edit-text tiddler="$:/temp/advancedsearch" 
type="search" tag="input"/><$reveal state="$:/temp/advancedsearch" 
type="nomatch" text=""> <$link to="" 
class="btn-invisible">{{$:/core/images/close-button}}</$link></$reveal>
</div>

</$linkcatcher>

<$reveal state="$:/temp/advancedsearch" type="nomatch" text="">

<div class="tw-search-results">

//<small><$count filter="[is[shadow]search{$:/temp/advancedsearch}]"/> 
matches</small>//

<$list 
filter="[is[shadow]search{$:/temp/advancedsearch}sort[title]limit[250]]" 
template="$:/core/ui/ListItemTemplate"/>

</div>

</$reveal>

<$reveal state="$:/temp/advancedsearch" type="match" text="">

</$reveal>





-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to