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 188.8.131.52. 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:
<![CDATA[Add media link]]>