As a relatively new TiddlyWiki user, I have been experimenting with
features and trying new ideas. After lots of searching to create a custom
search box, I came across this thread. While it is five years old, the
approach and ideas discussed here are still valid! I tweaked it to create
my custom search box in a tiddler running on Tiddlywiki 5.3.1. You can find
it here:
https://bpg-scripts.tiddlyhost.com/#Custom%20search%20box%20embedded%20in%20a%20tiddler
On Monday, September 24, 2018 at 8:57:50 PM UTC-4 TonyM wrote:
> Great to hear and Good work, often a learning experience is better than an
> answer.
>
> Regards
> Tony
>
>
> On Tuesday, September 25, 2018 at 5:43:32 AM UTC+10, Surya wrote:
>>
>> Hey Tony :-)))
>>
>> It works!! :-)) THANKS A LOT!!
>>
>> Now it is like this:
>> <$edit-text tiddler="$:/config/References/
>> searchstrings" field=all-reference-search placeholder="Type your Search"
>> tag=input/><br/><br/>
>> Search result:
>>
>> <$list
>> filter="[{$:/config/References/searchstrings!!all-reference-search}minlength{$:/config/Search/MinLength}limit[1]]"
>>
>> emptyMessage="""<div
>> class="tc-search-results">{{$:/language/Search/Search/TooShort}}</div>"""
>> variable="listItem">
>> <$list
>> filter="[!is[system]search:title{$:/config/References/searchstrings!!all-reference-search}]
>>
>> +[!tag[>]search:title{$:/config/References/searchstrings!!all-reference-search}]
>>
>> +[!tag[A]search:title{$:/config/References/searchstrings!!all-reference-search}]
>>
>> +[!tag[B]" emptyMessage="None">
>> <div style="margin-left:1em;">
>> <li><$link><<currentTiddler>></$link></li></div>
>> </$list>
>>
>>
>> Fantastic! Surya
>> and I am happy, that it is a little bit similar to my own idea :-)
>>
>
--
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/c1c1d845-4530-4375-897c-7cfd6827ed7dn%40googlegroups.com.