Copied to clipboard

Flag this post as spam?

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


  • SNiper Umbrac[0] 1 post 21 karma points
    Nov 25, 2013 @ 10:39
    SNiper Umbrac[0]
    0

    How to Get full url from tinyMCE

    I created content and attachd link to a content node but I would like to send that link to user in email form.

    but that link is {LocalLink:1080}, I want to change that to http://Exmaplewebiste.com/contract.aspx

    How should I do?

    Thank you.

  • SNiper Umbrac[0] 1 post 21 karma points
    Nov 25, 2013 @ 11:45
    SNiper Umbrac[0]
    0

    I use Umbraco 4.9.1 for Implement this website!

  • Dan Lister 416 posts 1973 karma points c-trib
    Nov 25, 2013 @ 15:21
    Dan Lister
    1

    I used a little extension method to help with an issue similar to yours. The below should do the trick.

    public static HtmlString ToHtml(this string str)
    {
        return string.IsNullOrWhiteSpace(str) 
            ? new HtmlString(string.Empty)
            : new HtmlString(TemplateUtilities.ParseInternalLinks(str));
    }
    
  • 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.

Please Sign in or register to post replies