Imagine being paid to improve your favorite CMS!

It could be you! Umbraco HQ are hiring and are looking for both talents and senior developers. Wonderful workplace, friendly colleagues and competitive salary.

Copied to clipboard

Flag this post as spam?

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


  • Graeme W 106 posts 282 karma points
    Mar 22, 2017 @ 12:29
    Graeme W
    0

    Customising Related Links with Media

    We are using the Related Links with Media data type installed through uComponents. We have a problem in that content editors occasionally select the media folder rather than the media file itself.

    Is there any way the form/control can be customised to prevent this? Is the UI available somewhere where we could maybe add a bit of Javascript?

    Thanks in advance for any advice!

  • Lee Kelleher 3677 posts 13273 karma points admin core mvp c-trib
    Mar 22, 2017 @ 13:25
    Lee Kelleher
    0

    Hi Graeme,

    Sorry to be the bearer of bad news, but the "Related Links with Media" data-type got archived off a few years ago.

    Not sure which versions of Umbraco & uComponents you are working with?

    The source-code for that data-type is still available here: https://github.com/uComponents/uComponents/tree/develop/src/uComponents.Legacy/DataTypes/RelatedLinksWithMedia

    Feel free to do whatever with the source-code, (it's MIT licensed), but unfortunately I wont be able to give you much support with it.

    Cheers,
    - Lee

  • Graeme W 106 posts 282 karma points
    Mar 22, 2017 @ 14:45
    Graeme W
    0

    Hi Lee

    Thanks for your response. We are using Umbraco version 6.16. No plans to upgrade in the near future.

    Out of interest if/when we do upgrade to Umbraco version 7 would the related links with media data type still work or would we need to find something else to replace it?

    thanks

    Graeme

  • Lee Kelleher 3677 posts 13273 karma points admin core mvp c-trib
    Mar 22, 2017 @ 14:50
    Lee Kelleher
    0

    Hi Graeme,

    re: upgrading to v7 - my honest answer is that I'd expect it not to work at all.

    I'm not overly familiar with the data-format for that data-type (I didn't develop it myself, it was someone else on the uComponents team, who I don't recall at the moment, sorry).

    As for a replacement, you'd probably be looking at something like Archetype or Nested Content.

    Cheers,
    - Lee

Please Sign in or register to post replies

Write your reply to:

Draft