# Nav

**URL:** <https://www.ruby-forum.com/t/nav/89990>\
**Category:** Radiant CMS\
**Created:** [March 24, 2007, 6:19pm UTC](https://www.ruby-forum.com/t/nav/89990 "2007-03-24T18:19:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![keith](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f05b48/32.png) [@keith](https://www.ruby-forum.com/u/keith)\
**Post date:** [March 24, 2007, 6:19pm UTC](https://www.ruby-forum.com/t/nav/89990/1 "2007-03-24T18:19:14Z")

</div>

Hi All,

I am trying to build a site that has the following structure:

- Home
- 
  - Departments

- 
  - 
    - Stores

- 
  - 
    - Articles

On each department page - sport for example - I need to add a nav for  
the  
articles within that department. I have tried the following and I was  
just  
wondering if I was doing anything wrong as it doesn’t seem to work.

- 

I have tried numerous different variations but don’t seem to be able to  
manage it. If I only had articles as children it would of course be  
easier  
but I need the stores beneath departments also. Any ideas??

Keith

---

<div class="post-metadata">

**Author:** ![keith](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f05b48/32.png) [@keith](https://www.ruby-forum.com/u/keith)\
**Post date:** [March 25, 2007, 12:15am UTC](https://www.ruby-forum.com/t/nav/89990/2 "2007-03-25T00:15:08Z")

</div>

Keith,

radiant cannot parse Radius tags within Radius tags. This means, the  
call \<r:find url="\<r:url /\>/articles/"\> will not work. You will  
probably need to do some conditionals or something, but I can’t think  
of an easy way to set up what you would like to do. Maybe some sort  
of nested navigation. In the wiki is a recipe for a site map, take a  
look at that, it may solve your problem.

But in any case, nested Radius tags will not work.

Hope this helps a bit.

Keith B.  
Tel: +49-7731-79838380  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![keith](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f05b48/32.png) [@keith](https://www.ruby-forum.com/u/keith)\
**Post date:** [March 25, 2007, 7:16am UTC](https://www.ruby-forum.com/t/nav/89990/3 "2007-03-25T07:16:28Z")

</div>

Yes, unfortunately, you will probably have to spell out the entire url  
of the parent page. Or, if you don’t mind some minor brain-twisting,  
you could do this:

\<r:children:each\>  
\<r:if\_url matches=“articles/?$”"\>  
\<r:children:each\>

- Of course, modify that to your needs.
