Hi Mario

> So how many tiddlers will be there

No more than 120 students and 11 teachers

> and what will be the number of SomeSubject?

In this case there are only six


I found out that a fET placed directly into the template seems to work
as intended - on the other hand using a fET for this makes the <<list
macro + template somewhat redundant - I might as well turn it all into
a fET...

This works:
[[Subject]]
<<list filter "[tag[Subject]]" template:Subject##template>>}}}/%
!template
<<view title link>>
<<forEachTiddler  where
'tiddler.tags.contains(context.inTiddler.title)&& !
tiddler.tags.contains("Student") '>>
<<forEachTiddler  where
'tiddler.tags.contains(context.inTiddler.title)&& !
tiddler.tags.contains("Teacher") '>>
! %/

IMO this sort of templating should be possible via the core <<list
macro + templating - no need to involve hardcoded scripts or
ForEachTiddlerPlugin...

IMO Eric's MatchTagsPlugin should make it into the core - boolean
expressions are usable everywhere in the system... most lists you'd
want to  create by hand needs some sort of filtering...

Cheers Måns Mårtensson

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