OK, let's take a slightly different approach. Seems the best way I can get a dynamic sub-nav is by creating a new <r:if_url> for each section like this:
<r:if_url matches="/team/"> <r:find url="/team/"> <div id="subnav"> <ul> <r:children:each> <li><r:link/></li> </r:children:each> </ul> </div> </r:find> </r:if_url> This work, albeit a little lame, but it's the best I can it seems we can do... here's one last question though... Is there a way I could add a way to detect if I'm on a selected page, then to say, add class="selected" just like the <r:navigation> tag (the <r:here> option)? At first I thought it would be sweet to essentially embed the <r:children> tag inside the <r:navigation> tag (this would create a truly dynamic navigation) but it's not built to do this. Any other ideas out there? Thanks guys! -- Travis Bell [EMAIL PROTECTED] On 22-Aug-07, at 2:30 PM, Damien McKenna wrote: >> -----Original Message----- >> From: Travis Bell >> Sent: Wednesday, August 22, 2007 4:18 PM >> Subject: [Radiant] Using a dynamic sub-navigation... >> >> The general functionality works with <r:children:each> but once I go >> 2 pages deep, there are no sub pages so it breaks (obviously). > > <r:find url="/articles/"> > <ul> > <r:children:each limit="10" order="desc"><li><r:link > /></li> > </r:children:each> > </ul> > </r:find> > > That builds a menu of all of the children of the /articles/ page. > > > Damien McKenna > Web Developer > The LIMU Company > _______________________________________________ > Radiant mailing list > Post: Radiant@lists.radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant _______________________________________________ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant