RJP.UmbracoMultiUrlPicker 2.1.0

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

There is a newer version of this package available.
See the version list below for details.
Install-Package RJP.UmbracoMultiUrlPicker -Version 2.1.0
dotnet add package RJP.UmbracoMultiUrlPicker --version 2.1.0
<PackageReference Include="RJP.UmbracoMultiUrlPicker" Version="2.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RJP.UmbracoMultiUrlPicker --version 2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RJP.UmbracoMultiUrlPicker, 2.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install RJP.UmbracoMultiUrlPicker as a Cake Addin
#addin nuget:?package=RJP.UmbracoMultiUrlPicker&version=2.1.0

// Install RJP.UmbracoMultiUrlPicker as a Cake Tool
#tool nuget:?package=RJP.UmbracoMultiUrlPicker&version=2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Multi Url Picker for Umbraco 7

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

Installation

Install the NuGet package.

or

Install the package from the Umbraco package repository.

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>
}

Changelog

See the changelog here

Multi Url Picker for Umbraco 7

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

Installation

Install the NuGet package.

or

Install the package from the Umbraco package repository.

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>
}

Changelog

See the changelog here

Release Notes

Feature Request : Querystring Parameters. Thanks to @mattbrailsford
No more "Could not find persisted pre-value for field (minNumberOfItems|maxNumberOfItems)" warnings in the Umbraco log

NuGet packages (6)

Showing the top 5 NuGet packages that depend on RJP.UmbracoMultiUrlPicker:

Package Downloads
Endzone.Umbraco.Extensions
Extensions, helpers and services for use with all our Umbraco sites
Equ.Umbraco.Bootstrap
Equ Umbraco Bootstrap
Papermoon.Kupo
An Umbraco framework designed to reduce time spent on implementation of common functionality.
Papermoon.Kupo.Core
Core assemblies needed for Kupo.
UmbracoVault.Extensions.MultiUrlPicker
An UmbracoVault extension library for the MultiUrlPicker data type. Allows for Multi Url Picker properties to be deserialized to strongly typed models.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.2.1 108,905 2/6/2019
2.2.0 39,714 8/21/2018
2.1.0 49,163 11/8/2017
2.0.1 29,229 6/3/2017
2.0.0 9,776 5/9/2017
1.3.2 43,669 4/2/2017
1.3.1 119,663 4/7/2015
1.2.0 6,036 7/24/2014
1.1.0 886 7/11/2014
1.0.0.1 1,261 7/3/2014
1.0.0 1,056 5/13/2014
0.2.0 1,004 5/8/2014
0.1.1 802 4/25/2014
0.1.0 886 3/7/2014