Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • John 8 posts 99 karma points
    Jan 20, 2016 @ 13:35

    Add Property to existing Umbraco.RelatedLinks

    I am using RelatedLinks datatype for menu editing and would like to add an additional property to associate FontAwesome font to each Menu item.

    I found the FontAwesome Icon Picker DataType that I would like to use as the Property Editor.

    My question is as follows; Do make a copy of the existing Umbraco RelatedLinks then modify to include this picker within AJS Controller/HTML View or .. is there a more official way that I should take to sub class the existing RelatedLinks controller.

    One other question is that assuming it's the former where I make copy and modify, is there any AJS examples that incorporate a secondary datatype such as a picker.

    Thanks in advance! Umbraco Rocks!

  • Paul Seal 506 posts 2786 karma points MVP 4x c-trib
    Jan 21, 2016 @ 21:28
    Paul Seal

    I suggest you look into using the Umbraco package called archetype. It will allow you to create a type which can be made up of multiple types. So you could create a type called font awesome link and it would be made up of a related link and a font awesome picker.

Please Sign in or register to post replies

Write your reply to: