Forum: Radiant CMS r:navigation url attributes settable by r:find ?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
71c85a662af0764df3a77cc00db166c9?d=identicon&s=25 Raphael Bauduin (Guest)
on 2007-03-18 18:01
(Received via mailing list)

I thought to use the r:navigation tag for a menu, but I would prefer
to pass the urls to use dynamically, ie with something like the result
of <r:find url="/menu_items/">, using the title as the label. Is this
planned or even possible? Is there a specific reason why the list has
to be passed manually?

Currently I have a menu without any indication of where you are
currently (hence my interest in r:navigation):

          <ul class="bottom">
              <li><r:link><r:title /></r:link></li>

Makes me wonder if I could do something like (illustration code

          <ul class="bottom">
              <li <r:if_url
url=r:url>class="active"</r:if_url>><r:link><r:title /></r:link></li>

ie using the current child's url (r:url) in the r:if_url test.

Thanks in advance for your help


Web database:
Free Software Developers Meeting:
This topic is locked and can not be replied to.