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.
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!)
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
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.
...
I can't believe that! I hadnt even considered that option! and I have used it before aswell! Sods friggin law!
Thanks Doug!
Alec
is working on a reply...