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 1361 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
8.1.x (untested)
8.0.x (untested)
7.14.x (untested)
7.13.x (untested)
7.12.x (untested)
7.11.x (untested)
7.10.x (untested)
7.9.x (untested)
7.8.x (untested)
7.7.x (untested)
7.6.x (untested)
7.5.x (untested)
7.4.x (untested)
7.3.x (untested)
7.2.x (untested)
7.1.x (untested)
7.0.x (untested)
6.1.x (untested)
6.0.x (untested)

You must login before you can report on package compatibility.

Package Information

  • Package owner: Marco Lusini
  • Created: 01/10/2009
  • Current version 3.0
  • License MIT
  • Downloads: 7250