> 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