> > > Is it possible to make a tree of pages that are transcluded inside one
> > > another based upon tagging(like the TagsTree plugin?)
> > So, for example, when the tiddler title is 'Main', all tiddlers tagged
> > with 'Main' will be transcluded and their whole text displayed in the
> > tiddler titled 'Main'?
Put this inline script [1] into a tiddler called
[[EmbedTaggedTiddlers]]:
<script>
var out=[];
var tag=story.findContainingTiddler(place).getAttribute('tiddler');
var tids=store.getTaggedTiddlers(tag);
for (var t=0; t<tids.length; t++)
out.push('<<tiddler [['+tids[t].title+']]>>');
return out.join('\n');
</script>
Then, in [[ViewTemplate]], you can write:
<div macro='tiddler EmbedTaggedTiddlers'></div>
That should do it... any tiddler that is used as a tag will now
automatically transclude content from all tiddlers that are tagged
with that title.
[1] requires
http://www.TiddlyTools.com/#InlineJavascriptPlugin
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios