Thanks Saq. I'm working on a questionaire. Pointing and referring to things is made a lot easier with this.
Alex On Mar 9, 1:41 pm, Saq Imtiaz <[email protected]> wrote: > The %0 style place holder substitution only works when the code > resolving the string knows to look for it and what to do with it. So > there's no default syntax for including the tiddler name. > > http://tiddlywiki.pastebin.com/mbc872b9 > That should do what you want and enable such substitution for all > command tooltips. > > Alternatively just for the closeTiddler command > tooltip:http://tiddlywiki.pastebin.com/m7792ad8c > > Cheers, > > Saq > > On Mar 9, 2:22 pm, Alex Hough <[email protected]> wrote: > > > I would like to change that tool tips on close so that when hovering > > over the 'close' button in the toolbar > > > I've got this in a tiddler titled 'configTweaks' and tagged with > > 'systemConfig' > > > merge(config.commands.closeTiddler,{ > > text: "close", > > tooltip: "Close this tiddler"}); > > > What is the syntax to change the tooltip to the name of the tiddler? > > I've tried the below. "'%0'" is used in other places in the code to > > add the name of the tiddler into text > > > merge(config.commands.closeTiddler,{ > > text: "close", > > tooltip: "'%0'"}); > > > Thanks in advance > > > Alex > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" 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/TiddlyWiki?hl=en -~----------~----~----~----~------~----~------~--~---

