On 13 Dec 2006, at 11:06, Paul Orrock wrote:
> Adeola Awoyemi wrote:
>> Hi all,
>> Is there a way I can get a list of stories from the
current
>> category and recurse into the subcategories of the
current
>> category and return the stories there too? So if I
had a structure:
>> I would get back a list that contains:
>> 'story_foo.html', 'story_bar.html',
'story_baz.html' ...
>> Is this possible?
>
> Everything is possible in Bricolage
>
> You just add the % to the end of the parent category in
your search
> hash
>
> category_uri => "/foo/%"
>
> and Bricolage does the rest.
>
> Regards,
>
> Paul
Cool!
I often use this in the bric interface but did not realize I
could do
the same in templates
Thanks Paul,
Adeola.
|