[tw] Re: Using CommentPlugin @tiddlytools with embedded tiddler macro - fails...
http://groups.google.com/group/tiddlywiki/browse_thread/thread/e7cfabba4ae947df/483244aadd66f2f2 http://groups.google.com/group/tiddlywiki/browse_thread/thread/c882ea5ba7ff000c/428fe07af340c0aa 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.
[tw] Re: Using CommentPlugin @tiddlytools with embedded tiddler macro - fails...
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=\ntiddler 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.
[tw] Re: Using CommentPlugin @tiddlytools with embedded tiddler macro - fails...
Argh - Now I lost the ability to write macros in messages :-( And double square brackets still won't work even if I changed the code to: config.macros.comment.fmt=\n\ntiddler kommentarKnap##Skabelon with:'%who%''%subject%''%when%''%message%'; I know this is because I've put %message% in the html for the button macro - but still I loose TWO good features by doing this, so I guess I stop going in this direction Cheers Måns Mårtensson On 11 Jan., 18:42, Måns humam...@gmail.com wrote: 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=\ntiddler 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.. 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.