Hi, again, Seba...

Yep, that was due to the script. Here's a fix and a suggestion: Create
a tiddler called "createNew" with the following contents...

<script label="New $1">
var alwaysTag="$1";
var p1=prompt("Enter $1 name","");
if(!p1)return
var title=(p1);
if(store.getTiddler(title))
        if(confirm('A page by the name of "'+
                title+
                '" already exists! Open it?'))
                story.displayTiddler(null,title);
        else return;
var tags=(alwaysTag);
store.saveTiddler(
  title,
  title,
  store.getTiddlerText('$1Template'),
  config.options.txtUserName,
  new Date(),
  tags);
autoSaveChanges(null,[tiddler]);
story.displayTiddler(null,title);
</script>

Then in your MainMenu add two buttons like so...
<<tiddler createNew with: character>>
<<tiddler createNew with: dungeon>>

Cheers, Tobias.

-- 
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