> <<forEachTiddler
> where 'tiddler.tags.contains("themes")'
> sortBy
> tiddler.modified
> descending
> write
> '(index < 10) ? '"|[["+tiddler.title+"]]|"+tiddler.modifier+"|\n":
> ""'>>
You have an extra single-quote just after the ? in the following line:
'(index < 10) ? '"|[["+tiddler.title+"]]|"+tiddler.modifier+"|\n":
Note: while FET is very powerful, sometimes it can be easier to just
use plain javascript, like this:
<script>
var out="";
var tids=store.sortTiddlers(store.getTaggedTiddlers("themes"),"-
modified");
for (var t=0; t<tids.length && t<10; t++)
out+="|[["+tids[t].title+"]]|"+tids[t].modifier+"|\n";
return out;
</script>
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
ref:
http://www.TiddlyTools.com/#InlineJavascriptPlugin