Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mihai Busuioc 5 posts 25 karma points
    Oct 24, 2012 @ 13:58
    Mihai Busuioc
    0

    How to display Umbraco Data type Menu in xslt

    Hello,

    I'm using a Umbraco data type menu to create some small menus. 

    My issues is that i don't know how to get data from menu inside xslt.

    In designer looks fine and i have 4 menu items. When i read them in xslt with <xsl:value-of select="$site/footerMenu1"/> i got ..."THE FOUNDATIONlink1_hereTHE BOARDlink2_hereNEWS#PRESS#"

    What i want is to iterate somehow the Menu items to optain something like this:

    <ul class="links">

    <li><a href="link1_here">THE FOUNDATION</a></li>

    <li><a href="#">THE BOARD</a></li>

    <li><a href="#">NEWS</a></li>

    <li><a href="#">PRESS</a></li>

    </ul>

    If anyone knows how to access that menu object from xxlt please let me know.

    Thank you 

    Mihai

     

     

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies