On Mon, 17 Sep 2007, Scott Lanning wrote:
> On Mon, 17 Sep 2007, Matt Rolf wrote:
>> Would it be useful to have the first call by
default look in the site
>> the template's being run in?
>
> I think so. The current behavior is to fail
> if more than one cat is returned by `lookup'
> (or any `lookup' for that matter);
> also, before there were such things as
"sites"
> (a few years ago), the "current site" was
implicit;
> so in terms of backwards compatibility,
> I think we can say that limiting it to the current
category
> wouldn't break anything.
On second thought.... I think the Category class
doesn't have any concept of templates/burner,
so I'm not sure "the current site" makes sense...
I think it might be necessary after all
to pass the site argument to `list'
(sorry I said `lookup' previously).
|