Copied to clipboard

Flag this post as spam?

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


  • Alec Colebrook-Clark 134 posts 258 karma points
    Jul 08, 2009 @ 16:15
    Alec Colebrook-Clark
    0

    XSLT Link

    Hi all,

    Sorry I didnt know where to post this one, Its more brain picking than how to implement. I've been asked to create a link for a piece of content that the use will create and modify to a page that might not exist. My experience, which is limited, says its entirely possible. My thoughts though would be to perform a string check to locate the required node. However as the user can also create said nodes this would result in a possible broken link due to typos.

    so im just trying to find out if there is a better method than my proposed one and if its worth doing?

    I can see the need but also see the inconsistency from the users end.

     

    Thanks in advance

    Alec

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Jul 08, 2009 @ 16:21
    Douglas Robar
    101

    If I understand what you want, why not just let the users insert links in the richtext editor with the 'insert link' button? Then they can point-n-click their way to the proper page and the link will always work (because internally it will link to the page's id rather than it's path, so the link will continue to work even if the page name changes or the path to the page changes... gotta love umbraco!)

    Or have I missed the scenario you're thinking of?

    cheers,
    doug.

  • Alec Colebrook-Clark 134 posts 258 karma points
    Jul 08, 2009 @ 16:34
    Alec Colebrook-Clark
    0

    ...

    I can't believe that! I hadnt even considered that option! and I have used it before aswell! Sods friggin law!

     

    Thanks Doug!

     

    Alec

Please Sign in or register to post replies

Write your reply to:

Draft