14 votes

Related Links with Media

This is a simple Datatype that adds an "Add media link" AND the ability to edit existing links to the standard Related Links Datatype in Umbraco, derived from the source for Related Links in Umbraco 4.0.2.1. and updated with the changes in Umbraco 4.5.

It can be used whenever you need to mix related links from the content section, from the world wide web AND from the media section.

Its use is straightforward, it simply uses 'media' as the type for media links in the generated XSL.

The package includes an example XSLT macro for rendering a list of links.

 - version 2.0 adds the "Edit Link" feature.
 - version 2.0.1 adds the ability to translate labels.
 - version 2.0.2 fix a bug with absolute local links (/path/page.html...)

 - version 3.0 works with Umbraco 4.5

In order to translate labels, you have to modify the standard umbraco language file, in /umbraco/config/lang, adding the following keys to the "relatedlinks" area:

<key alias="editLink">
    <![CDATA[Edit link]]>
</key>
<key alias="savelink">
    <![CDATA[Save]]>
</key>
<key alias="media">
    <![CDATA[Media]]>
</key>
<key alias="addMedia">
    <![CDATA[Add media link]]>
</key>

 

Screenshots

Package owner

Marco Lusini

Marco Lusini

Marco has 1370 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
Version 8.18.x (untested)

You must login before you can report on package compatibility.

Previously reported to work on versions:

Package Information

  • Package owner: Marco Lusini
  • Created: 01/10/2009
  • Current version 3.0
  • License MIT
  • Downloads on Our: 5.5K