November Happy Hour will be moved to Thursday December 5th.

Provide a link for an editor in edit mode

Vote:
 

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

#178736
May 19, 2017 13:29
Vote:
 

Hi Mark,

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)

#178755
May 20, 2017 18:07
Vote:
 

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.

#178782
May 22, 2017 14:06
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.