TW5 How Do I Remove the Search Box?

100 views
Skip to first unread message

John Newell

unread,
Jul 28, 2016, 12:32:15 AM7/28/16
to TiddlyWiki
I am in the final production stage of the (tw) eBook SpiritualQuest and I need to remove the Search Box.
I have used the ReadOnly format ( with many thanks to Ton Gerner) to great effect
but the search box is redundant as I have other navigation in play WITHIN each tiddler.

What is the best (simplest, please)  way to remove it?

John Newell

TW-RO-SearchBoxRemoval.png

The Bo

unread,
Jul 28, 2016, 2:32:03 AM7/28/16
to TiddlyWiki
Hey,

you could change the tiddler $:/core/ui/SideBarLists and delete everything between <$set name="searchTiddler" value="$:/temp/search"> and </$set>.

Regards
The Bo

Eric Shulman

unread,
Jul 28, 2016, 2:35:06 AM7/28/16
to TiddlyWiki
The sidebar search AND the tabbed lists below it are defined the $:/core/ui/SideBarLists shadow tiddler

*Most* of the content in that tiddler is for the search handling.  What remains is for the tabbed lists.  You can remove the search stuff, leaving just this:

<div class="tc-sidebar-lists">
<$macrocall $name="tabs" tabsList="[all[shadows+tiddlers]tag[$:/tags/SideBar]!has[draft.of]]" default={{$:/config/DefaultSidebarTab}} state="$:/state/tab/sidebar" />
</div>

enjoy
-e
Eric Shulman
TiddlyTools / ELS Design Studios

John Newell

unread,
Jul 28, 2016, 3:31:16 AM7/28/16
to TiddlyWiki
Thanks to you both
The problem is solved and I can now finalise the tw-book

If this post/topic can please e left open for a little while I will add a link that allows access to the final version.
I am sure others have done amazing things with TW5 - but as an ebook it rocks !

cheers and thanks again !

JN
Reply all
Reply to author
Forward
0 new messages