[Radiant] Dynamic Menu
bodhi
bodhi at theplant.jp
Tue Jul 25 20:54:30 CDT 2006
On 26/07/2006, at 7:17 AM, Jake wrote:
> Jay Levitt wrote:
>> Jake wrote:
>>> I am new to radiant and although I really like it I am struggeling
>>> with
>>> this. I want to build a dynamic side nav am running into the
>>> following
>>> issues.
>>>
>>> <ul class="blog_archive">
>>> <r:find url="/articles">
>>> <r:children:each order="desc">
>>> <r:unless_url matches="<r:page:url/>">
>>
>> Looks like unless_url expects only a literal regular expression in
>> "matches"; it doesn't expand any tags in its argument. (I'm not sure
>> anything in Radiant does.) So there's no way to do what you want with
>> pure tags at the moment.
>
> Thanks Jay,
> I tried to loop over the <r:navigate/> but that didn't seem to work
> either. That tag needs to have a hard coded value for the "urls"
> attriubte it seems. Thanks for the feedback, when you get your tabs
> packaged up I would be stoked to get a look at it.
Have you thought of modifying the <r:navigate /> to take a parent url
instead of a list? I'll need the same thing here, but i've got too many
other things to get through first!
Bodhi
More information about the Radiant
mailing list