Copied to clipboard

Flag this post as spam?

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


  • Graham Davis 110 posts 376 karma points
    Oct 05, 2019 @ 13:25
    Graham Davis
    0

    How to over ride {localLink:umb://

    I am working on a documentation website where the menu is on the left and the documentation is loaded on the right as a partial view. This prevents a postback that causes user to loose their place in the menu.

    When using the back office tools to cross reference the documents, umbraco is creating the links to look like this:

        <a title="_Property" href="/{localLink:umb://document/622132ec4c30400b9d2dc063948601e9}" 
    data-udi="umb://document/622132ec4c30400b9d2dc063948601e9" 
    data-mce-href="/{localLink:umb://document/622132ec4c30400b9d2dc063948601e9}" 
    data-mce-selected="inline-boundary">_Property</a>
    

    Is there a way to override this function so that the links look like this:

    <a onclick="LoadPage('/data-models/return-models/propertydetails/_property/');" href="#">_Property</a>
    

    Thanks!enter image description here

    enter image description here

Please Sign in or register to post replies

Write your reply to:

Draft