Copied to clipboard

Flag this post as spam?

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


  • Muhammad hussain 33 posts 53 karma points
    Jul 26, 2010 @ 08:09
    Muhammad hussain
    0

    How to Genrate Dynamic Menue in Xslt

    Hi All

    I want to genearte Dynamic Menu which laeds to 4 sub level nodes. Can any one help me in this.

    Thanks

    Hsusain

  • Matt Brailsford 4125 posts 22224 karma points MVP 9x c-trib
    Jul 26, 2010 @ 09:55
    Matt Brailsford
    0

    Hi Muhammad,

    There should be an XSLT template built in that should help you get started.

    In the developer section, create a new XSLT file and chose "Sitemap" from the "Choose a template" drop down. This should generate a XSLT file that automatically creates a nested UL list of all pages. There is even a variable for the max levels you want to go. From here just tweek to your needs, then create an associated macro and drop it in your template.

    Many thanks

    Matt

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Jul 26, 2010 @ 10:30
    Tim
    0

    You could also check out the flexible navigation macro: http://our.umbraco.org/projects/website-utilities/cogworks-flexible-navigation that has a bunch of handy parameters you can turn on and off, and then if you want a fancy menu with effects etc, you can look at some of the jQuery menu plugins.

  • 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