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/groups/opt_out.

Reply via email to