Hi, Mr Gupta, I want to invite you to the Tiddlywiki community on discourse, because most of the discussions happen there and do not fill your postbox : I also stumbled upon your post there https://talk.tiddlywiki.org/t/tw5-re-how-to-build-a-custom-search-box/7917 One tiny tip: You could replace the text you put into each Tiddler with one single viewtemplate. B Gupta schrieb am Dienstag, 29. August 2023 um 08:19:12 UTC+2:
> 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/dcc201bf-6614-494d-ae32-cf43622c04c8n%40googlegroups.com.

