I have a series of notes on a subject I want to archive by putting them
into one tiddler, so I can remove the individual tiddlers. I am trying to
make a button to do this.
With this filter, it brings the desired effect. If you copy this to
tiddlywiki.com, it will combine all tiddlers with the 'About' tag, while
keeping their titles to separate them.
<$list filter=[tag[About]]>
<h2> <$transclude tiddler=<<currentTiddler>> field="title" mode="block"/>
</h2>
<$transclude tiddler=<<currentTiddler>> field="text" mode="block"/>
</$list>
I tried using this template using the $wikify widget. {{template}} refers
to tiddler with the filter above as its text.
<$button>
<$wikify name="selection" text={{template}} mode="block">
<$action-sendmessage $message="tm-new-tiddler" title="Combined"
text=<<selection>>/>
</$wikify>
click here to combine about tiddlers
</$button>
But this gives me javascript errors (Uncaught InvalidCharacterError: Failed
to execute 'createElementNS' on 'Document': The qualified name provided
('$element') contains the invalid name-start character '$'.) It also
doesn't really copy everything over in the right way, because the wikitext
formatting is not applied.
I think I am trying to solve this problem from the wrong angle. I am hoping
someone can point me towards the right direction.
kind regards,
Odin
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/d760d472-00cd-4eb8-8bd0-a01899613a40n%40googlegroups.com.