Copied to clipboard

Flag this post as spam?

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


  • Sebastian Dammark 581 posts 1385 karma points
    Feb 15, 2011 @ 22:42
    Sebastian Dammark
    0

    Why won't NiceUrl play along ...

    In my template I do like this:

    <a href="{umb:NiceUrl($currentFolderId)}">
    <xsl:value-of select="$currentFolderId" />
    </a>

    Which gives me this result:

    <a href="#">1101</a>

    I'm clearly missing something here. Any ideas why my href is empty ?

  • Chriztian Steinmeier 2798 posts 8788 karma points MVP 7x admin c-trib
    Feb 15, 2011 @ 22:50
    Chriztian Steinmeier
    0

    Very odd indeed...

    Need more code - preferably the complete template :-)

    /Chriztian 

  • Chriztian Steinmeier 2798 posts 8788 karma points MVP 7x admin c-trib
    Feb 15, 2011 @ 23:09
    Chriztian Steinmeier
    1

    Through mutual investigation we found the reason: NiceUrl() returns "#" for Media item Ids...

    /Chriztian

Please Sign in or register to post replies

Write your reply to:

Draft