Thanks for the reply, Eric. I think I understood it now.
So I created something new, as I wanted a "home" button in the sidebar
menu. Is this correct?
Tiddler: restoreInitialView
----------------------------------------
config.macros.restoreInitialView= {
label: "home",
prompt: "Restore the initial view"
};
config.macros.restoreInitialView.handler = function(place)
{
createTiddlyButton(place,this.label,this.prompt,this.onClick);
};
config.macros.restoreInitialView.onClick = function(e)
{
story.closeAllTiddlers();
story.displayDefaultTiddlers();
return false;
};
----------------------------------------
--
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.