Hi Jeremy and Thanks, as always
> Why do you have to use a different template editor for each tiddler? Could
> they share the same editor?
>
>
The idea was to subsequently display each pair of tiddler/editor alongside
each other. They are questions in Moodle's GIFT format and there will be
several different flavours. It may well be that I should re-think it to use
a single editor
> You need a macro to join together the two parts of the $param for the
> action-sendmessage.
>
>
But how do I call the macro so that the result gets 'parsed' (??) when it
comes back?
\define join(input)
> $input$Q
> \end
> |!Question Title |<$edit-text tiddler="QT" field="questiontitle"
> placeholder="give the question a title" size="60"/>|
> <$set name="qtit" value=<<QT!!text>>>
> <$button message="tm-new-tiddler"
> param={{QT!!questiontitle}}><$action-sendmessage $message="tm-new-tiddler"
> $param=<<join QT!!questiontitle>>/>Make Tiddlers</$button>
This creates a tiddler called QT!!questiontitleQ. Am I being thick?
But I think there's a deeper problem: when you create a new tiddler against
> a template you don't have direct control over the title chosen. If the
> template is called "HelloThere" then the first tiddler created from it will
> be "HelloThere 1", then "HelloThere 2" etc. That makes it hard to reliably
> tie the two tiddlers together.
>
> That's in my 'cross that bridge when we come to it' basket, where it's
been for the last six hours. I probably need to try this again tomorrow...
;)
Regards,
Richard
--
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/d/optout.