Using ForEachTiddler, TableSortingPlugin and custom fields you can
create most anything.
http://no-sin.com/wiki/WorkTracker.html#%5B%5BNeed%20TM%5D%5D
for example.
<<forEachTiddler
where
'tiddler.tags.contains("needTM")'
sortBy
'store.getValue(tiddler,"traindate")'
write
'"|"+store.getValue(tiddler,"traindate")+" |[["+ tiddler.title+"]]
|"+store.getValue(tiddler,"programcode")
+"|"+store.getValue(tiddler,"agreepackdate")
+"|"+store.getValue(tiddler,"trainmaterialdate")
+"|"+store.getValue(tiddler,"participantmaterialdate")+"|\n"'
begin '"|sortable|k\n|Date|Request|Code|Agree|TM|PM|h\n"'
end '"!"+count+" sets of Trainer Materials needed to be sent\n"'
none '"!No Trainer Materials needed to be sent\n"'
>>
Figure it might give you some ideas.
Ken Girard
On Jul 15, 9:55 am, PMario <
pmari...@gmail.com> wrote:
> uups,
> sry Jazz. The test was too short :)
> reverse lookup only looks for the default fields. title, modified,
> modifier ... not for custom fields. My match was an accident.
>
> >Before I forget, is there a way to adapt the sort to numerical values.
>
> 1) is your number a real number like: 000123456
> 2) or does it have delimiters like: 0012.34.56
>
> Some time ago, I made a list macro extension NoCaseListPlugin [1]. At
> the very end of the code is the sort algorithm.
>
> I used a[sortField].toLowerCase() to get a case insensitive sorting.
> May be something like a.fields[sortField].parseInt('1234') does the
> trick.
> ===
> some more pointers:
http://www.tiddlytools.com/insideTW/#config.macros.view.handler
> <<view fieldName>> can access a custom fieldhttp://
www.tiddlytools.com/insideTW/#TiddlyWiki.prototype.getValue
> gets the field value.
>
> hope this helps
> have fun!
http://hoster.peermore.com/recipes/ListPlugins/tiddlers.wiki#NoCaseLi...
> > issue, I am not sure...).- Hide quoted text -
>
> - Show quoted text -