[tw] Table layout containing tiddlers with specific tag

2015-08-12 Thread Jed Carty
For TW5 you use a list widget and html tables like this:




Title


Author


Date


<$list filter='[tag[Wiki Examples]]'>


{{!!title}}


{{!!modifier}}


{{!!created}}





It's not the same layout as your code gives, but it should show how to make 
tables like that.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1eb0bd23-3350-4da4-a78c-2f6336ad4b83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Table layout containing tiddlers with specific tag

2015-08-12 Thread roger
I've been utilizing TWc for several years, but am looking at possibly 
updating to TW5.  A feature I use in TWc is to generate a list of prior 
tiddlers in a table format, with the tiddler creation date, tiddler title, 
tiddler body and tiddler author.  The desired outcome is produced in TWc 
using a tiddler with the following content:


var tag="faq";
var hdr="| ''DATE'' | ''NOTE'' | ''AUTHOR'' |\n";
var fmt="| %0 |''[[%1]]:'' <> | %2 |\n"; 
var tids=store.getTaggedTiddlers("caseNote",'created').reverse();  
var out=[hdr]; 
for (var i=0; i