[Tb] What can ^contains contain?

From: <tblist.5.haelo__AT__spamgourmet.com>
Date: Sun Dec 05 2004 - 01:33:46 EST

> These look fine to me. ^contains(^text^,...) will only work in a
> template; if embedded in the text, it would be a circular include.

Chalk it up to trying to fashion templates on a fever. The problem was
unrelated to this, a bug in my file. I've got it all sorted out now.

> I believe ^isInside(theNote) is what you're looking for.

Not quite, because the template might be testing for a page which is
several levels below the common root for a group of pages. The way I
understand it, and the way it seems to work, ^isInside() will only
work for direct children. I needed a solution that would address
hundreds of notes many layers deep. ^contains(^directory^, dir-root)^
does the trick for me (now that I know what I'm doing. :)

Thanks, all.

A.
Received on Sun Dec 5 06:33:46 2004

This archive was generated by hypermail 2.1.8 : Wed Dec 14 2005 - 10:45:20 EST