I have set up a custom document type Links Section which has a Related Links property editor.
To this editor, I want to add an icon field, so links display with a font awesome icon. How can I achieve this? Could I have some example code to get me started please?
Would you mind showing us how your Umbraco backoffice looks like and part of your code? Or a screenshot of what you want to do exactly? It's hard to tell right now.
Excuse me for the shoddy drawing on the screenshot :)
Links Section is a document type. Related Links is a property editor. I want to add an Image to the Related Links property editor. Hope that makes sense.
Links Section is a document type. Related Links is a property editor. I want to add an image picker where the blue text is, so then I can reference it in a template and display it dynamically.
New column in related links property editor
I have set up a custom document type Links Section which has a Related Links property editor.
To this editor, I want to add an icon field, so links display with a font awesome icon. How can I achieve this? Could I have some example code to get me started please?
If I understand correctly, you're looking for something like this?
Font-awesome icons
I'm looking for answers on how to add a new column with an image picker into built in Related Links property type.
Would you mind showing us how your Umbraco backoffice looks like and part of your code? Or a screenshot of what you want to do exactly? It's hard to tell right now.
Excuse me for the shoddy drawing on the screenshot :)
Links Section is a document type. Related Links is a property editor. I want to add an Image to the Related Links property editor. Hope that makes sense.
Excuse the shoddy drawing on the screenshot :)
Links Section is a document type. Related Links is a property editor. I want to add an image picker where the blue text is, so then I can reference it in a template and display it dynamically.
I'd probably used Nested Content to achieve this rather than trying to hack the related links editor.
You can add whatever fields you like, so you'd add a content (or link picker), an image field, a caption etc.
If you are using a very recent version of Umbraco 7.7.x then it should be built in, otherwise you can install it as a package.
See https://github.com/umco/umbraco-nested-content/blob/develop/docs/developers-guide.md
is working on a reply...