Copied to clipboard

Flag this post as spam?

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


  • jamie 7 posts 27 karma points
    Aug 09, 2012 @ 16:02
    jamie
    0

    Modifying RelatedLinks DataType

    I'm fairly new to Umbraco, and I would like to understand the best way to extend the functionality of the  RelatedLinks datatype.  

     

    • Should I create an entirely new usercontrol using user control wrapper that mimicks the functionality? 
    • If so, would the best/easiest way to be to find all the files relating to the relatedlinks datatype in the Umbraco source files and then copy this as a starting point?  (where can I find the source files - I used the web installer, are they on my machine or do I need to download separately?)
    • Or is there a way of extending the source datatype without altering any of the core files?

     

    This is a learning project for me, rather than a business critical functionality requirement.  The functionality I would like to add to RelatedLinks is

     

    • Facility when creating the property to set the links type to 'Internal' or 'External' (so the user cannot choose when editing the content as they can now)
    • Facility to add a description to the link
    • Facility to edit the link
    Thanks

     

  • jamie 7 posts 27 karma points
    Aug 09, 2012 @ 16:06
    jamie
    0
  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Aug 09, 2012 @ 16:59
    Lee Kelleher
    0

    Hi Jamie,

    Take a look at the uComponents package - along with having the latest (final) version of Related Links with Media data-type, we also have one that supersedes it called Multi-UrlPicker.

    As for learning/extending the functionality... we're completely open-source! Feel free to look over the code, ask questions, make a fork, etc.

    http://ucomponents.codeplex.com/SourceControl/list/changesets

    Cheers, Lee.

Please Sign in or register to post replies

Write your reply to:

Draft