> I'm trying to add a new link to the toolbar and I'm unable to get it
> to work.  I've looked at thehttp://tiddlywiki.org/wiki/Dev:Toolbar_Commands
> page and also at numerous other plugins but I can't convince my
> TiddlyWiki to add the extra link.  I'm using the stock 2.5.0 version.
> Is there something else that is required to make the example from the
> Wiki work?

In addition to defining the new toolbar command handler (using a
tiddler tagged with systemConfig... don't forget to save-and-
reload...), you also have to add a keyword reference to the new
command in [[ToolbarCommands]].

The keyword for a toolbar command is the same as the object name that
defines the handler for that command.  Thus, if your handler was
defined by:
   config.options.myCommand = {
      handler: function (...) {
Then you would insert "myCommand" into the desired toolbar slice
definition.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWikiDev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to