[Radiant] Dynamic Menu

Jake jakeschirm199 at hotmail.com
Tue Jul 25 15:15:56 CDT 2006


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/>">
     <li>
      <p class="date"><span class="highlight"><r:date format="%b %d, %Y" 
/></span></p>
      <h5><r:link /></h5>
      <r:if_content part="blurb">
        <r:content part="blurb" />
        <r:link anchor="extended">Continue Reading&#8230;</r:link>
      </r:if_content>
     </li>
    </r:unless_url>
   </r:children:each>
 </r:find>
</ul>


When I use this code unless_url doesn't seem to match the url to the 
page.

I would really like to you <r:navigation /> here but I don't want to 
hard code the navigation values I want them to be generated from a 
parent node.

Any help would be appriciated.

-- 
Posted via http://www.ruby-forum.com/.



More information about the Radiant mailing list