Copied to clipboard

Flag this post as spam?

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


  • Simon Dingley 1470 posts 3427 karma points c-trib
    Dec 20, 2010 @ 22:00
    Simon Dingley
    0

    Problem with umbraco.library.NiceUrl in umbraco:item control

    umbraco v 4.5.2 issue with the following code in a master template:

    <umbraco:item runat="server" 
        field="rhsImage2Link" 
        xslt="umbraco.library.NiceUrl({0})" 
        Recursive="true" />

    Any reason why the above would not be returning the link when the folling does infact retrun the node id:

    <umbraco:item runat="server" 
        field="rhsImage2Link"  
        Recursive="true" />

    Any pointers or ideas appreciated.

    Thanks, Simon

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Dec 20, 2010 @ 22:06
    Tom Fulton
    3

    Change    umbraco.library.NiceUrl({0})    to    umbraco.library:NiceUrl({0})    (period to colon)  :)

  • Simon Dingley 1470 posts 3427 karma points c-trib
    Dec 20, 2010 @ 22:51
    Simon Dingley
    0

    Obvious really isn't it when someone points it out :) Thanks Tom

Please Sign in or register to post replies

Write your reply to:

Draft