Hi TW community,
I want to show all tiddler tags in the tiddler's text. To do this, I
found a post (http://groups.google.com/group/tiddlywiki/browse_thread/
thread/5c3a76e3d176b59e/81b04a4579efa5b2?lnk=gst&q=tiddler.tags#)
In analogy to the there proposed transclusion mechanism (using Eric
Shulman's InlineJavascriptPlugin), I defined a tiddler called ListTags
containing
<script>
var tag = "$1" ;
var tags = store.getTiddler(tag).tags ;
var out = "" ;
for(var i=0;i<tags.length;i++) {out += tags[i] + ", " ;}
return out ;
</script>
This I called from another tiddler "xyz" by
<<tiddler [[ListTags]] with {{tiddler.title}}>>
After saving the tiddler ListTags I got the error msg "TypeError:
store.getTiddler(tag) is null" and the same when saving tiddler xyz.
I tried the call <<tiddler [[ListTags]] with tiddler.title>> as well.
Any ideas?
Thx for your help in advance,
Michael
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.