4 votes

Ubolt Content Picker

Adds a new datatype called Ubolt.ContentPicker that`s using Umbraco's content picker controller, but adds the option to set a start node, and filter out content types. 

The packages allso contains a property value converter that converts to IPublishedContent.

After installation create a new datatype and selecet Ubolt.ContentPicker, and fill out prevalues: 

  • Startnode : Select a node for the tree to use as root. (Optional) 
  • Filter : A list of content type aliases that the user can`t select (Optional, Case insensitive)


Nuget Package

www.nuget.org/packages/Ubolt.ContentPicker/
Install-Package Ubolt.ContentPicker


Example

@if (Model.Content.HasValue("uContentPicker")) {

    var pickedeNode = Model.Content.GetPropertyValue<IPublishedContent>("uContentPicker");

    <a href="@pickedeNode.Url">@pickedeNode.Name</a>

}

 

Screenshots

Package owner

Troels Larsen

Troels Larsen

Troels has 280 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: Troels Larsen
  • Created: 26/04/2015
  • Current version 0.9
  • License MIT
  • Downloads on Our: 411