Luis Lebron wrote:
I'm using the following snippet to create a list for a menu. It works
correctly but it generates a large amount of unneeded line breaks. Any ideas
on how I can fix this?
<r:children:each >
<r:unless_content part="no-menu">
<li>
<r:link />
<r:if_children>
<r:unless_content part="no-menu">
<ul>
<r:snippet name="menu_links" />
</ul>
</r:unless_content>
</r:if_children>
</li>
</r:unless_content>
</r:children:each>
Stick items on the same line. For example,
<r:children:each >
<r:unless_content part="no-menu">
<li><r:link />
<r:if_children><r:unless_content part="no-menu"><ul>
<r:snippet name="menu_links" />
</ul>
...
basically, where you have a Radius tag - there it puts the expanded version of the tag..
Hope this helps.
Cheers,
Mohit.
10/10/2008 | 9:50 PM.
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant