I think it shouldn't be too difficult. As far as I can see, the code is 
already in startup.js.

Maybe Jeremy can make it a seperate function?

The code I think which should do it is in lines 37 to 50:

        // Get the default tiddlers
        var defaultTiddlersTitle = "$:/DefaultTiddlers",
                defaultTiddlersTiddler = 
$tw.wiki.getTiddler(defaultTiddlersTitle),
                defaultTiddlers = [];
        if(defaultTiddlersTiddler) {
                defaultTiddlers = 
$tw.wiki.filterTiddlers(defaultTiddlersTiddler.fields.text);
        }
        // Initialise the story and history
        var storyTitle = "$:/StoryList",
                story = [];
        for(var t=0; t<defaultTiddlers.length; t++) {
                story[t] = defaultTiddlers[t];
        }
        $tw.wiki.addTiddler({title: storyTitle, text: "", list: 
story},$tw.wiki.getModificationFields());


So if one can put that into a tiddler and can execute it (it's beyond my 
knowledge at the moment), it should be done.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to