[Radiant] active link
Vladimir Beran
vberan at centrum.cz
Fri Jul 4 05:30:56 CDT 2008
<ul>
<r:if_children>
<li <r:if_ancestor_or_self>class="active"</r:if_ancestor_or_self>>
<a href="<r:url />">
<span>
<r:title />
</span>
</a>
</li>
</r:if_children>
</ul>
If anybody visit web the content of first children of root site will
appear. But URL is root one something like www.web.com and no LI element
mentioned above use class "active". I need the first child of root site
use this class (as the URL was like www.web.com/slug-of-first-child),
thank you
--
Posted via http://www.ruby-forum.com/.
More information about the Radiant
mailing list