Hi Eric, thnxx for the knowledge transfer ;-) It works fine! Have a nice day Michael
On Nov 24, 2:42 am, Eric Shulman <[EMAIL PROTECTED]> wrote: > > Eric published a nice plugin StorySaverPlugin respective a nice script > > SaveBreadcrumbs (http://tiddlytools.com/#StorySaverPlugin > > %20SaveBreadcrumbs) to save your browse history in TW. > > It would be even nicer to have a mechanism showing in an open tiddler > > tagged "story" an open-button (by > > TaggedTemplateTweak,http://tiddlytools.com/#TaggedTemplateTweak) to open a > > whole TW story. > > http://www.TiddlyTools.com/#StorySaverPlugin > also defines an <<openStory>> macro: > <<openStory storyname label tooltip>> > which creates a *link* that will display all the tiddlers listed in a > given [[storyname]]. > > Then, as you rightly suggest, you can use > http://www.TiddlyTools.com/#TaggedTemplateTweak > to add this link as a toolbar command in a custom > [[StoryViewTemplate]], like this: > <div class='toolbar' macro='openStory storyname [[open story]] > [[open all links in this tiddler]]'></div> > > The only catch is that the value of 'storyname' has got to be > automatically calculated, so that it always matches the name of the > current tiddler. Fortunately, there *is* a way to do this. First, > make sure you have > http://www.TiddlyTools.com/#CoreTweaks##444 > installed. This tweak makes it possible to access the *current > tiddler title* and insert it into the macro, using a the TW macro > "computed parameter" syntax, like this: > <div class='toolbar' macro='openStory {{tiddler.title}} ...'></div> > > The end result of combining these pieces is a toolbar command labeled > "open story" that will appear only for tiddlers tagged with "story" > and, when clicked, displays all the tiddlers that linked to from the > story tiddler. QED. > > enjoy, > -e > Eric Shulman > TiddlyTools / ELS Design Studios --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

