Hi Alberto,

thanks for your replies. I tried copying the contents of your tiddler from 
http://tesis.tiddlyspot.com/ but for some reason, the ability to search 
tags didn't work in mine...?

This is the content of my tiddler. It searches tags but not text within 
tiddlers.

<div class="tw-sidebar-lists">

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

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

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

<$list filter="[prefix{$:/temp/search}limit[3]]" emptyMessage="No tiddler 
with this prefix"/>
<$list filter="[tags[]prefix{$:/temp/search}]"><$transclude 
tiddler="$:/core/ui/TagTemplate"/></$list>
<$list filter="[tags[]prefix{$:/temp/search}limit[1]]"><hr></$list>
<$list filter="[prefix{$:/temp/search}] -[tags[]prefix{$:/temp/search}]" 
template="$:/core/ui/ListItemTemplate"/>
<$list filter="[prefix{$:/temp/search}limit[1]] 
-[tags[]prefix{$:/temp/search}]"><hr>
<$list filter="[!is[system]search{$:/temp/search}] 
-[prefix{$:/temp/search}] +[sort[title]limit[250]]" 
template="$:/core/ui/ListItemTemplate"/>


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

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

</div>

</$reveal>

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

<<tabs "[is[shadow]!has[draft.of]tag[$:/tags/SideBar]] 
[!is[shadow]!has[draft.of]tag[$:/tags/SideBar]] +[tag[$:/tags/SideBar]]" 
"$:/core/ui/SideBar/Open" "$:/state/tab/sidebar">>

</$reveal>
</div>


On Wednesday, 12 February 2014 13:15:35 UTC, Alberto Molina wrote:
>
> I've uploaded my modifications to the search box at 
> http://tesis.tiddlyspot.com/
>
> Where to find the code?
>
>    - the modified searchbox in a new tiddler called "$:/_ui/SearchBox",
>       - "$:/_ui/SearchBox" is trancluded by "$:/_ui/SideBarLists"
>       - and "$:/_ui/SideBarLists" is trancluded 
>       by "$:/_ui/PageTemplate/sidebar"
>       
> (This way I don't lose the code after an upgrade of the core)
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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