Copied to clipboard

Flag this post as spam?

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


  • Felixx 18 posts 39 karma points
    Sep 03, 2010 @ 09:16
    Felixx
    0

    4.5 XSLT umbraco.Nice Url

    hi,

    i am unsure of why this does not work..it errors on yhe href=umbraco.niceurl part.. if i just have a href = {@id} instead it works and outputs the correct id, slightly lost here, only happens with the 4.5 XML.

      <xsl:variable name="rootNode" select="$currentPage/ancestor-or-self::* [@level=1]" />
    <xsl:for-each select="$rootNode/* [string(umbracoNaviHide) != '1']">
    <li>
    <a href="{umbraco.library:NiceUrl(@id)}">
    <span>About</span>
    </a>
    </li>
    </xsl:for-each>

  • 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.

    Continue discussion

Please Sign in or register to post replies