Hi Eric
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?
Again thanks a lot Jan.
Am 27.05.2014 01:17, schrieb Eric Shulman:
On Monday, May 26, 2014 3:52:17 PM UTC-7, Jan wrote:
Hello Eric, hello whatever.
Thanks for your two approaches, I think Erics is the one I need,
because I need to call it in a template
I would like to call it up with a macro:
<<tiddler ShowStoryStatus with: {{tiddler.title}}>>
unfortunately it gives me this syntax error message: SyntaxError:
unterminated string literal
Unfortunately I am not able to fix it...
Unlike ForEachTiddler, which requires the snippets of javascript code
to be enclosed in their own quote delimiters, InlineJavascript allows
you to write clean pure javascript code without using up some of the
quotes in the process. Unfortunately, when I copy/pasted your fET
code to create my javascript example, I left behind one tiny single
quote at the end of a line, where it doesn't belong!
Remove the trailing ' from this line, and it should be OK:
|
out+="Für [["+tids[i]+"]]: "+store.getValue(tids[i],"important")+"\n"'
|
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
YOUR DONATIONS ARE VERY IMPORTANT!
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
http://TiddlyTools.github.com/fundraising.html#MakeADonation
Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
http://www.TiddlyTools.com/#Contact
--
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.