I have the need to provide a link to the editor in edit mode. The link needs to go to an external website and would only be for one content type so ideally needs to be a property of that content type.
Has anyone done this before or know how to acheive this?
You can create a property on the content type. Then in your view check using the helper method if PageEditing.PageIsInEditMode then use @Html.DisplayFor(m=>m.PropertyName)
Thanks for the suggestion Aniket but it's not quite what I'm trying to acheive. I need the link to be in the all properties view rather than the front end view.
Hi,
I have the need to provide a link to the editor in edit mode. The link needs to go to an external website and would only be for one content type so ideally needs to be a property of that content type.
Has anyone done this before or know how to acheive this?
Thanks,
Mark