When I tried to do as you suggested, I got my familiar Red Pop-up of Doom. getTiddlerList seems to work as expected when put into a javascript that is executed after everything is established. My guess is that the config modules are processed before the wiki.js module and so the getTiddlerText, etc, don't exist when my new module is being processed.
On Tuesday, February 10, 2015 at 10:13:56 AM UTC-6, Astrid Elocson wrote: > > Hi Stephen, > > You can certainly access the content of an ordinary tiddler via > JavaScript. Have a look at methods in $:/core/modules/wiki.js > <https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/wiki.js>, > such as *getTiddlerText*, *getFieldString*, *extractTiddlerDataItem*, etc. > > Perhaps the easiest technique would be to use *getTiddlerList*, which > takes a tiddler title and a field name (or property name), and returns an > array of the items listed <http://tiddlywiki.com/prerelease/#Title%20List> > in that field. > > – æ > -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywikidev. For more options, visit https://groups.google.com/d/optout.
