65 votes

Multi Url Picker

Allows editors to pick and sort multiple urls, it uses Umbraco's link picker which supports internal and external links and media.

Usage

Add a new property to your document type and select the Multi Url Picker property editor in the pickers category.

If you're using the models builder, you can access the property on your model e.g. Model.Links if your property alias is links.

@{ var links = Model.Links.ToList(); }

@if (links.Count > 0)
{
  <ul>
    @foreach (var item in links)
    {
      <li><a href="@item.Url" target="@item.Target">@item.Name</a></li>
    }
    </ul>
}

If Max number of items is configured to 1

@if(Model.Link != null)
{
  <a href="@Model.Link.Url" target="@Model.Link.Target">@Model.Link.Name</a>
}

Screenshots

Documentation

Source code

Project owner

Rasmus John Pedersen

Rasmus John Pedersen

Rasmus has 355 karma points

Project Compatibility

This project is compatible with the following versions as reported by community members who have downloaded this package:
Works on Umbraco Cloud
7.12.x (untested)
7.11.x (untested)
7.10.x (100%)
7.9.x (100%)
7.8.x (untested)
7.7.x (100%)
7.6.x (50%)
7.5.x (100%)
7.4.x (80%)
7.3.x (100%)
7.2.x (83%)
7.1.x (100%)
7.0.x (100%)
6.1.x (0%)
6.0.x (0%)

You must login before you can report on package compatibility.

Project Information

  • Project owner: Rasmus John Pedersen
  • Created: 07/03/2014
  • Current version 2.1.0
  • .net Version 4.0,4.5
  • License MIT
  • Downloads: 13932