Copied to clipboard

Flag this post as spam?

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


  • asim 16 posts 36 karma points
    Jun 09, 2011 @ 08:00
    asim
    0

    Inline XSL syntax for Rich text editor truncate string. help!

    Hi All

    i want to use the rich text editor in template with truncated text. i need the correct syntax for that,

    any help !! i tried following syntax, but not working

     

    <umbraco:Item field="columnLeft" runat="server" xsl="umbraco.library:TruncateString({0},100, '...')" xsltDisableEscaping="true" ></umbraco:Item>
             

    thanks

    Asim

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Jun 09, 2011 @ 14:19
    Tom Fulton
    0

    Hi,

    the xsl= attribute should actually be Xslt=

    <umbraco:Item field="columnLeft" runat="server" Xslt="umbraco.library:TruncateString({0},100, '...')" xsltDisableEscaping="true" ></umbraco:Item>

    -Tom

Please Sign in or register to post replies

Write your reply to:

Draft