I am currently working on a site with a rather convoluted navigation
scheme (it wasn't my decision, the graphic designer came up with it,
and the client likes it, so I must comply).
When trying to simplify and DRY up the navigation snippets I've come
across what appears to be a bug. The contents of the snipped are below:
<ul id="navigation">
<r:navigation urls="Custom & OEM Products:/products/custom-oem-
products | Filter Elements:/products/filter-elements | Filter
Housings:/products/filter-housings">
<r:normal><li><a href="<r:url />"><r:title /></a></li></r:normal>
<r:here>
<li>
<a href="<r:url/>"><r:title /></a>
<r:children:each by="title" order="asc">
<ul>
--> <li><a href="<r:child:url/>"><r:child:title/></a></li>
</ul>
</r:children:each>
</li>
</r:here>
</r:navigation>
</ul>
The line with the arrow (the nested LI) is the issue. I have tried
making it:
<r:child><li><a href="<r:url/>"><r:title/></a></li></r:child>
which also fails.
The output is quite odd. The LI gets printed the proper number of
times, but the url and title are all pointed to the parents.
Anyone have any ideas?
Thanks,
Andrew
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant