Hi. The weird errors aside, I realized that the error was on my side.
When selecting tags for the where condition, I made a typo.
w

On May 4, 2:54 am, Anthony Muscio <[email protected]> wrote:
> Copy and Paste from my first post into a tiddler works for me.
>
> I notice the quoted code (in your email) does not have the terminating ">>".
>
> Remember the script is embedded in a macro (the FET macro). It can be put in
> a standard tiddler (no system config, no <script></script> etc...
>
> You may 
> needhttp://www.TiddlyTools.com/#InlineJavascriptPlugin<http://www.tiddlytools.com/#InlineJavascriptPlugin>
> for this to work.
>
> Let me know if you still have a problem. Perhaps some script jockeys know
> what could be wrong for you.
>
> TonyM
>
> If you have not found an easy way to do it with TiddlyWiki, you have missed
> something.www.tiddlywiki.com
>
>
>
> On Tue, May 4, 2010 at 06:45, whatever <[email protected]> wrote:
> > Anthony, using your code verbatim, I get the "SyntaxError:
> > unterminated string literal" error.
> > I tried replacing the ? in context.lastGroup?context.lastGroup with a
> > =
> > but then I got the "SyntaxError: missing ) in parenthetical" error.
> > What am I missing?
>
> > w
>
> > On May 2, 5:07 am, Anthony Muscio <[email protected]> wrote:
> > > A Variation of the following advanced "ForEachTiddler" code may help;
> > > It creates an alphabetical index list.
>
> > > You can also the use ofhttp://www.TiddlyTools.com/#SectionLinksPlugin<
> >http://www.tiddlytools.com/#SectionLinksPlugin>to
> > > generate a Table of Contents that jumps to that letter in the index.
>
> > > <<forEachTiddler
> > >     where 'tiddler.tags.contains("contact") &&  !
> > > tiddler.tags.contains("Trash")'
> > >     sortBy
> > >         'tiddler.title.toUpperCase()'
>
> > >     script
> > >         '
> > >         function getGroupCaption(tiddler) {
> > >             return tiddler.title.substr(0,1).toUpperCase();
> > >         }
>
> > >         function getGroupTitle(tiddler, context) {
> > >             if (!context.lastGroup || context.lastGroup !=
> > > getGroupCaption(tiddler)) {
> > >                 context.lastGroup = getGroupCaption(tiddler);
> > >                 return "* {{{"+(context.lastGroup?context.lastGroup:"no
> > > tags")+"}}}\n";
> > >             } else
> > >                 return "";
> > >         }
> > >         '
>
> > >     write
> > >          'getGroupTitle(tiddler, context)+"** [[" + tiddler.title+"]]\n"'
>
> > > TonyM
>
> > > If you have not found an easy way to do it with TiddlyWiki, you have
> > missed
> > > something.www.tiddlywiki.com
>
> > > On Sun, May 2, 2010 at 10:54, Mike <[email protected]> wrote:
> > > > Check Out PMario's. . .
> > > >http://apm-plugins.tiddlyspot.com/#TiddlerMapTabs
>
> > > > Mike
>
> > > > On May 1, 4:26 pm, MaBjoT <[email protected]> wrote:
> > > > > Hi guys
>
> > > > > I want to make an encyclopedia-type file using TiddlyWiki and my only
> > > > > problem so far is that I want to have a list of the letters of the
> > > > > alphabet (A B C D ...) fixed at the top of the page.  Clicking on any
> > > > > letter would open up a list of all the tiddlers tagged with that
> > > > > letter (could be a dropdown list).  All entries beginning with "A"
> > > > > would get an "A" tag, etc.
>
> > > > > Do any of you know how I might go about doing that?
>
> > > > > Thanks,
> > > > > MaBjoT
>
> > > > > --
> > > > > 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]<tiddlywiki%[email protected]>
> > <tiddlywiki%[email protected]<tiddlywiki%[email protected]>
>
> > > > .
> > > > > For more options, visit this group athttp://
> > > > groups.google.com/group/tiddlywiki?hl=en.
>
> > > > --
> > > > 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]<tiddlywiki%[email protected]>
> > <tiddlywiki%[email protected]<tiddlywiki%[email protected]>
>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/tiddlywiki?hl=en.
>
> > > --
> > > 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]<tiddlywiki%[email protected]>
> > .
> > > For more options, visit this group athttp://
> > groups.google.com/group/tiddlywiki?hl=en.
>
> > --
> > 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]<tiddlywiki%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/tiddlywiki?hl=en.
>
> --
> 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 
> athttp://groups.google.com/group/tiddlywiki?hl=en.

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