I found a workaround, however it works if I need one template  only...

In a tiddler tagged with systemConfig I write:
config.macros.comment.fmt="\n<<tiddler CommentTemplate##A with:[[%who
%]][[%subject%]][[%when%]][[%message%]]>>\n";

It WORKS :-D

I still would like to know if it's possible to use the tiddler macro
because it would allow usage of several different templates...

Cheers Måns Mårtensson

On 11 Jan., 18:03, Måns <humam...@gmail.com> wrote:
> http://groups.google.com/group/tiddlywiki/browse_thread/thread/e7cfab...http://groups.google.com/group/tiddlywiki/browse_thread/thread/c882ea...
>
> On 11 Jan., 17:53, Måns <humam...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi TwWizards (& @eric)
>
> > I've searched and searched this forum to find a solution for this, -
> > and I've found several posts where the same question has been asked -
> > however not answered - Now It's my turn to post the question I
> > guess ....
>
> > I want/need to insert a tiddler macro as a template for my comments
> > mostly because my template is so long and complicated that it doesn't
> > make sense to insert it each and every time I/or someone else posts a
> > message - just saying "hi" ....
>
> > My template is this:
> > +++!!!!![<img src='http://%who%.tiddlyspace.gir.dk/bags/%who%_public/
> > tiddlers/SiteIcon' style='border=0;width:auto;height:24px;'
> > title='%message%'>($1): %subject%|%who%: %when%]...^^%when%^^
> > %who% skrev: ...
> > <<<
> > %message%
> > <<<
> > ===
>
> > And it could be something like this:
> > <<tiddler CommentTemplate##A with:[[%who%]][[%subject%]][[%when%]]
> > [[%message%]]>>
> > where A was:
> > !A
> > +++!!!!![<img src='http://$1.tiddlyspace.gir.dk/bags/$1_public/
> > tiddlers/SiteIcon' style='border=0;width:auto;height:24px;'
> > title='$4'>($1): $2|$1: $3]...^^$3^^
> > $1 skrev: ...
> > <<<
> > $4
> > <<<
> > ===
>
> > I can't make the comment macro accept the tiddler macro - with or
> > without the escape signs <\<tiddler>\> ...
>
> > Anthony Muscio has asked for this feature a couple of times - but
> > didn't recieve a reply (as far as my searches has taken me anyway...)
>
> > @Anthony - did you find a solution??
>
> > @Eric - is there any solution to this problem?? - a workaround or a
> > possible fix??
>
> > 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 tiddlywiki@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