Hi TwWizards

I have this script (from cmari), which generates a table showing all
fields of tiddlers tagged with tiddlertitle (in any TW which is *not*
hosted on TS).
I know I have to install inlineJavescriptlugin and have to set
config.evaluateMacroParameters = "full";
Its the naming of the fields attributes , which doesn't seem to work.
What do I have to change?:

<script label="Fields for tag" title="see all fields of tiddlers
tagged with tiddlertitle">
var here=story.findContainingTiddler(place);
   if (!here) return;
   var title=here.getAttribute("tiddler");
   var tiddler=store.getTiddler(title);
        var out=[]; var fmt='[[%0]]: %1|'; var fmt2='\n|[[%0]]|';
        var
tids=store.sortTiddlers(store.filterTiddlers("[tag[("+tiddler.title+"
AND NOT Reference)]]"), "modified");
        for (var i=0; i<tids.length; i++) {
 
out.push(fmt2.format([tids[i].title]));
                                        for (var f in tids[i].fields)
out.push(fmt.format
([f,tids[i].fields [f]]));
        }
        return out.join('|');
</script>

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 [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.

Reply via email to