Well, pupils come and go arbitrarily så it is not possible to hard code it like that, if I understand you right. Plus that there will be many (1000's ?) of pupils... :-)
On Jan 28, 4:08 pm, cmari <cema...@gmail.com> wrote: > So, just to be sure I understand, the clunky way of doing this would > be to replace > the word GroupTiddlerNames in the tiddler [[CheckListwGroups]] > with > !tiddler.tags.containsAny(["Pupil1", "Pupil2", "Pupil3", > "Pupil4","Pupil5","Pupil6","Pupil7","Pupil8","Pupil9"]) > but you're looking for a simpler way to exclude those tiddlers without > itemizing them? > > cmari > > On Jan 28, 5:03 am, twgrp <matiasg...@gmail.com> wrote: > > > Thank you for taking this on cmari! > > > I have put up a testcase that is as simplified and clear as I can make > > it;http://groupies.tiddlyspot.com/ > > (username=password=groupies) > > (link mentioned previously in another thread, but now modified). > > > The crucial bit is emphasized in red. > > > Ref to the "pupil analogy" above, I have change from "shools" to > > "groups" so to emphasize that pupils can be part of many groups. Also > > in the testcase pupils "become" groups by tagging them with Group. > > Thus: > > > "list all pupils that are not members of any groups" = > > fET-list all tiddlers tagged Pupil that are not tagged with any "names > > of tiddlers tagged Group" > > > Surprisingly tricky, eh? ;-) > > > Thank you! > > > On Jan 28, 3:53 am, cmari <cema...@gmail.com> wrote: > > > > I first thought that what you wanted was straight-forward: > > > <<forEachTiddler where 'tiddler.tags.containsAny(["B1","B2","B3"]) && > > > tiddler.tags.contains("C") ' >> > > > But your question sounds more complicated. Can you give some more > > > details about what you're trying to do? > > > > More generally, you can see examples of things that can be done with > > > the "where clause" in fET > > > here:http://tiddlywiki.abego-software.de/#WhereClauseExamples > > > cmari > > > > On Jan 27, 4:13 pm, twgrp <matiasg...@gmail.com> wrote: > > > > > I can't figure this out; > > > > > I want to filter out; > > > > "all tiddlers tagged with any of the tiddlernames B1,B2... that are > > > > tagged with C" > > > > - or a concrete example - > > > > "all pupils tagged with any of the shools (B1...) that are located in > > > > smallville (C). > > > > > Those tiddlers are to go in as parameter input to a forEachTiddler. > > > > I.e; > > > > > <<forEachTiddler where 'tiddler.tags.containsAny("HERE")' ... > > > > > My pathetic attempts at putting a "fET as argument to a fET" did not > > > > work and I've done some sad attempts with MatchTagsPlugin with no > > > > result (I don't understand how to use it). > > > > > Maybe it's possible to store the filtered string... if it, in deed, is > > > > a string... and somehow the appropriate format for fET... but how do I > > > > store it and then call for it at the right place...? > > > > > I'd really appreciate any help. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.