Copied to clipboard

Flag this post as spam?

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


  • Moran 285 posts 934 karma points
    Dec 31, 2012 @ 08:02
    Moran
    0

    using a recursive navigation xslt

    I am using this xslt for my navigation. I am having trouble configuring it, I build a macro with this pararmeres:

    and in my master page I put this line of code:

    <umbraco:Macro ID="Macro2" Alias="recursiveNavigation" maxDepth="3" startNodeId="2" navigationCSSClass="navultest" runat="server"/>

    but I haven't noticed anything different, can someone tell me what am I doing wrong here?

     

  • Moran 285 posts 934 karma points
    Dec 31, 2012 @ 15:27
    Moran
    0

    By not showing anything different I mean that I can't see any changes in the list I get, I always get the samelist

  • Charles Afford 1163 posts 1709 karma points
    Jan 06, 2013 @ 16:51
    Charles Afford
    100

    Hi Moran,

    What are you trying to achieve with your navigation?  When you say you cannot see any changes, how is it rendering at the moment? and how would you expect it to be rendering when the markup is functioning as you would like?  Also are you getting any xslt errors or any problems with the markup appearing in firebug?  Have you alos got a screen shot opf the page so we can see what the menu i like or supposed to be?

    Thanks,

    Charles.

  • Moran 285 posts 934 karma points
    Jan 06, 2013 @ 17:04
    Moran
    0

    Thanks for the help but I found that using a macro based on a Razor script is much more useful to me. 

  • Charles Afford 1163 posts 1709 karma points
    Jan 15, 2013 @ 00:10
    Charles Afford
    0

    Ok :) are you using MVC?  You are probably best avoiding using XSLT and razor if you are trying to do that :).  Charles

Please Sign in or register to post replies

Write your reply to:

Draft