Hi. I recently started using Radiant to host http://www.vfct.com/ .
I’m not using many of the more sophisticated features (nearly everything
is hard-coded in some way). I’d like to get away from having to
hard-code my sidebar navigation (see
http://www.vfct.com/counterterrorism/odin-uldris/ for a good example of
what I’m doing.
- Child Page 1
- Child of Child Page 1
- Child Page 2
I want to display all of the children of the parent page, and then
display the children of the current page only. In this example, Child
Page 2 has children, but I am not showing them.
I’ve gotten close using
But then I get all second level children including those under Child
Page 2. I attempted to use
<r:if_url matches="<r:url />">…</r:if_url> but it looks like <r:url />
isn’t executing or at least isn’t matching (it does work if I type the
url in manually instead of using the tag).
An attempt to do this with r:navigation, feeding it the results of
r:children:each failed as well, as r:children:each didn’t seem to
<r:navigation urls="<r:children:each><r:title />: <r:url
Are the problems I’m experiencing (under 0.6.2) normal and expected? If
so, is there a workaround? If this is not normal, could someone provide
a quick example of working code?