You can define a 'home' command yourself, by putting the following

> code into a tiddler tagged with systemConfig (i.e., a plugin):
>> --------------------
>> config.commands.home={
>>         text: "home",
>>         tooltip: "restore initial display",
>>         handler: function(event,src,title) {
>>                 story.**closeAllTiddlers(); restart();
>>         }
>> }
>> --------------------
>> Then, in ToolbarCommands, replace the command keyword 'closeTiddler'
>> with 'home'.
>>
>
> The result is an error: Error while executing macro <<home>> No such macro
>

The code above does not define a *macro*, it defines a *toolbar command*.
 Thus, you don't embed "<<home>>" in your content.  Rather, you add the
"home" keyword to the ToolbarCommands, so that the "home" command link
appears in the toolbar of every tiddler.

-e

-- 
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.


Reply via email to