> How would I change title:'New Project1 task' to create a popup prompt?
> Using New Tiddler Macro:
> <<newTiddler
> label:'New Task'
> title:'New Project1 task'
> text:{{store.getTiddlerText('TaskTemplate','')}}
> tag:'Project1'>>

First, install this brand new TiddlyTools plugin:
   http://www.TiddlyTools.com/#ClickifyPlugin

Then, you can write:

<<clickify newTiddler
label:'New Task'
title:{{prompt('Enter a new tiddler title','New Project Task')}}
text:{{store.getTiddlerText('TaskTemplate','')}}
tag:'Project1'>>

The added 'clickify' keyword prevents the prompt() function (used in
the title param) from being invoked when the newTiddler macro is
initially rendered.  Then, when the resulting 'new tiddler' command
link is actually clicked upon, all computed macro parameters are
automatically re-calculated, so that the prompt() function can be
invoked and you will be asked to enter a new title at that time.

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