> I'm quite new to TiddlyWiki, but already fascinated by it. Right now
> I'm trying to make a lab book from it using the journal functionality.
>
> The question is how could I configure the DefaultTiddlers so that only
> the latest in my journal entries will appear when TW is loaded? I can
> display them all (with [tag[journal]sorted[-created]]) but I suspect
> that with the lab book growing this will become too lengthy and slow
> (and useless) to display at startup.

Try this:

Create a tiddler [[SetDefaultTiddlers]], tagged with systemConfig,
containing this one line of code:
-----------------
config.shadowTiddlers["DefaultTiddlers"] = "[["+store.getTaggedTiddlers
("journal","modified").reverse()[0].title+"]]";
-----------------

Then, just *delete* the existing DefaultTiddlers.  When you save-and-
reload, the above code will automatically re-write the *shadow*
definition of DefaultTiddlers so that it will then open the most
recently modified 'journal' tiddler.

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.


Reply via email to