Heureka.

Thanks a lot...
Jan

Am 14.06.2014 01:14, schrieb Eric Shulman:
On Tuesday, May 27, 2014 2:29:09 AM UTC-7, Jan wrote:

    Wow, what a change a little ' can do...
    The script works fine now allso when it is called in the Template.
    One last wish: Is there a way to supress the reportline for the
    tiddlers where the field important is undefined?


The following script will produce the same output as before, but will skip any tiddlers that do not have the "important" field defined... and, if no tiddlers have that field, then the entire output is skipped.
|
<script>
varpre="@@font-size:2em;[img(30px,)[Tag.png]] Denken an:\n";
varpost="@@";
varout="";
vartids=store.getTiddler("$1").getLinks();
for(vari=0;i<tids.length;i++){
varval=store.getValue(tids[i],"important");
if(val)out+="Für [["+tids[i]+"]]: "+val+"\n"
}
if(out.length)returnpre+out+post;
</script>
|

-e

--
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 tiddlywiki+unsubscr...@googlegroups.com <mailto:tiddlywiki+unsubscr...@googlegroups.com>. To post to this group, send email to tiddlywiki@googlegroups.com <mailto:tiddlywiki@googlegroups.com>.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

--
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to