Hi Måns,
Credit goes to Eric, but I wonder if the answer to my question would
also be the answer to yours:
http://groups.google.com/group/tiddlywiki/browse_thread/thread/c148329f06545d27?hl=en
cmari

On Jan 23, 12:45 pm, Måns <[email protected]> wrote:
> I guess I need to implement this somehow:
>
> var fields = t ? t.fields : {};
>         fields = jQuery.extend({}, config.defaultCustomFields,
> fields);
>
> On 23 Jan., 16:30, Måns <[email protected]> wrote:
>
>
>
>
>
>
>
> > 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