small point (since it tripped me up when I was testing my answer
before I sent it):
If you use:
where '! tiddler.title.contains("$1")

you will exclude any tiddlers whose titles include $1 (for example, if
$1 is "test tiddler", your list will not include a tiddler titled
"test tiddler 2", or one titled "my test tiddler").  That's why I
switched to
where 'tiddler.title!=="$1"

cmari

On Jan 21, 2:36 pm, Måns <[email protected]> wrote:
> Hi axelm and cmari
>
> > refer to another tiddler, instead of the tiddler it resides in?
>
> If it should be able to exclude the tiddler from the list - having the
> tags in question, you could use: '!
> tiddler.title.contains("SomeTiddlerTitle")
> and make it portable like this:
>
> <<tiddler SomeTitle##SameTags with: AnotherTitle>>
> [[SomeTitle]]
> /%
> !SameTags
> <<forEachTiddler
>     where '! tiddler.title.contains("$1") &&
>  tiddler.tags.containsAll(store.getTiddler("$1").tags)'>>
> !end %/
>
> 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