Copied to clipboard

Flag this post as spam?

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


  • Kim Schurmann 15 posts 135 karma points c-trib
    Aug 19, 2013 @ 13:23
    Kim Schurmann
    0

    TinyMCE v3: Problem rendering nodeid links

    Hi,

    I am using TinyMCE v3 as RTE and have a problem using the insert link feature. When I pick the node from the content tree the RTE inserts {localLink:[nodeID]}, but when I render the page (as a partial) the link is not rendered in the view, e.g. www.mysite.com/%7BlocalLink:1054%7D. The contents are fetched by ID in a controller (using Umbraco.TypedContent()), added to a list and rendered one by one in the view using Html.Partial. 

    Thanks in advance! :-)

    /Kim

  • Kim Schurmann 15 posts 135 karma points c-trib
    Aug 19, 2013 @ 13:58
    Kim Schurmann
    100

    Problem solved. It seems that getting the HTML using umbraco.field() doesn't render/replace links, but getting the html using the model ala:

    Model.Content.GetPropertyValue<string>("widgetRTE");

    works splendid!

Please Sign in or register to post replies

Write your reply to:

Draft