Mans,

Sounds like you have an interesting project behind this - anything
that you might be ready to share?

Mike

On Mar 12, 4:02 pm, Måns <humam...@gmail.com> wrote:
> > <<tiddler newTemplate##button with: "Project nr 1" [[average]]>>
>
> > /%
> > !button
>
> > <<newTiddler
> >  label:"$2"
> >  prompt:"$1"
> >  title:"Projectnote to student"
> >  text:""
>
> >  fields:{{"process:"+ store.getTiddlerText('$1##process') + " " +
> >            "content:"+ store.getTiddlerText('$1##content')
> >         }}
> >  tag:"Note"
> >  accessKey:"1"
>
> > >>.
>
> Thanks Mario
>
> This was very close - however the text that should be fetched and put
> in the custom fields have linebreaks and bulleted lists, and this code
> only fetches firstlines (for some reason??)..
> And fact is that you don't see the text untill you have saved the
> newtiddler - the fields are empty when the tiddler is opened for the
> first time, even if the textdata (firstlines only) has been
> injected...
>
> I found Eric's CopyTiddlerPluginhttp://www.tiddlytools.com/#CopyTiddlerPlugin,
> which solves this in a very elegant way - and adds a natural interface
> for changing the tiddlers used as "boilerplate text containers"...
> Now I simply write:
> [[newTemplate]]
> <<copyTiddler [[Project no 1]] label:"above average" prompt:"create a
> projectnote for a student, which is above average">>
> <<copyTiddler [[Project no 2]] label:"average" prompt:"create a
> projectnote for a student, which is average">>
> <<copyTiddler [[Project no 3]] label:"less than average"
> prompt:"create a projectnote for a student, which is less than
> average">>
>
> The new boiler template tiddlers [[Project no 1]][[Project no ]] and
> [[Project no 3]] has all the custom fielddata, which I  can mody
> directly via the same custom Edit template, I use for the actual
> projectnotes - It very convenient - and easy + it adds the extra bonus
> of getting an option to click "copy" (tiddler) - when you have filled
> out the <<edit fieldname 8>> textboxes....
>
> Thanks for taking a shot at it - however I found a much easier way to
> do it (and extra functionality I hadn't considered)...
>
> Cheers Måns Mårtensson

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to