> Basically I have altered the load tiddler function so it alters a
> global variable lastopenedtiddler.
> I have a tiddler embedded in the page template file called
> 'historyviewer' which shows the history of pages that have been opened
> and the display of it is determined by the variable lastopenedtiddler.
> The problem is whenever I load a page I want to reload this tiddler.
Have you tried:
http://www.TiddlyTools.com/#BreadcrumbsPlugin
This plugin tracks the *display* (not "load") of each and every
tiddler during the current browser session by 'hijacking' the core's
story.displayTiddler() function.
It renders a list of previously viewed tiddlers that can be
*automatically* added to the page layout without changing the
[[PageTemplate]], and/or added to specific tiddler content via the
<<breadCrumbs>> macro.
Also:
http://www.TiddlyTools.com/#BreadcrumbsCommand
which uses BreadcrumbsPlugin and InlineJavascriptPlugin to create a
"crumbs" command link that, when clicked, shows the current
breadcrumbs using a TW standard *popup* display. This command can be
easily added to any tiddler content (e.g., MainMenu) just by writing:
<<tiddler BreadcrumbsCommand>>
and can also be added to EVERY tiddler as a *toolbar command*, by
adding the following into your [[ViewTemplate]]:
<span class='toolbar' macro='tiddler BreadcrumbsCommmand'></span>
HTH,
-e
Eric Shulman
TiddlyTools / ELS Design Studios