Hi For TW5 use this code in $:/SiteTitle
<pre><code> <span title="Home"><button message="tw-home" class="btn-invisible" onclick=" var defaultTiddlersTitle = '$:/DefaultTiddlers', defaultTiddlersTiddler = $tw.wiki.getTiddler(defaultTiddlersTitle), defaultTiddlers = []; if(defaultTiddlersTiddler) { defaultTiddlers = $tw.wiki.filterTiddlers(defaultTiddlersTiddler.fields.text); } var storyTitle = '$:/StoryList', story = []; for(var t=0; t <defaultTiddlers.length; t++) { story[t] = defaultTiddlers[t]; } $tw.wiki.addTiddler({title: storyTitle, text: '', list: story},$tw.wiki.getModificationFields()); return false; ">My ~TiddlyWiki</button></span> </code></pre> Other buttons can also be added to the Site Title, as can buutons be added into the Site Subtitle. regards On Wednesday, March 5, 2014 7:52:48 PM UTC+2, Bill Mullen wrote: > > I was looking for a way to re-display my DefaultTiddlers - mostly after a > search because the search feature was closing all the open tiddlers before > displaying the results. > > In my search, Morris Gray included some code in the following thread: > > > https://groups.google.com/forum/#!searchin/TiddlyWiki/DefaultTiddler/tiddlywiki/k3qdZ64aARQ/PpTeG7swBxkJ > > First off, thank you Morris! > > I used Morris' code in my SiteTitle tiddler as such so that clicking on > the site title will close all open tiddlers and display the default > tiddlers. > > <html><a href="javascript:void(0)" onclick="story.closeAllTiddlers > ();story.displayTiddlers(null,store.getTiddlerText > ('DefaultTiddlers').readBracketedList())" > ><span title="Display default tiddlers" style="cursor:pointer; color: > white;">My Site Title</span></a></html> > > > Just thought I would share a way to use Morris' code > > -- 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/d/optout.