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

Change editor template for linkItem

A S
A S
Vote:
 

I wanna use LinkItemCollection in my block, but i need different properties in LinkItem editor. I'd like to rename "Title" to "Description", and maybe add new properties. How can i implement this? Is there an easy solution?

#179563
Jun 15, 2017 11:09
Vote:
 

You can create LinkItem.cshtml under Views / Shared / DisplayTemplates and use EPiServer.SpecializedProperties.LinkItem as model.

#179568
Jun 15, 2017 12:34
A S
Vote:
 

This would change only display in view mode, but i need to change editor of link item.

#179569
Jun 15, 2017 12:37
Vote:
 

LinkitemCollection and LinkItem don't seem to be very extendable. You'd have to define new property types or perhaps solve the problem using built-in properties (content area and blocks?).

#179579
Jun 15, 2017 13:56
* 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.