Our.Umbraco.ConditionalDisplayers 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Our.Umbraco.ConditionalDisplayers --version 1.0.0
                    
NuGet\Install-Package Our.Umbraco.ConditionalDisplayers -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Our.Umbraco.ConditionalDisplayers" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Our.Umbraco.ConditionalDisplayers" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Our.Umbraco.ConditionalDisplayers" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Our.Umbraco.ConditionalDisplayers --version 1.0.0
                    
#r "nuget: Our.Umbraco.ConditionalDisplayers, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Our.Umbraco.ConditionalDisplayers&version=1.0.0
                    
Install Our.Umbraco.ConditionalDisplayers as a Cake Addin
#tool nuget:?package=Our.Umbraco.ConditionalDisplayers&version=1.0.0
                    
Install Our.Umbraco.ConditionalDisplayers as a Cake Tool

Conditional Displayers

This is an Umbraco package. It implements a checkbox and dropdown datatype editors that work like the core ones (in fact they are based in the same code), but allows to hide or display other properties in the same Document Type.

Installation

Nuget

NuGet

Run this form your Package Manager Console in Visual Studio:

PM> Install-Package Koben.Iconic

Umbraco Package

Manually

Download the code and copy it into you App_Plugin folder.

Configuration

Checkbox

Create a new DataType and select 'Checkbox Conditional Displayer' as the Property Editor.

-Default value: select the value that the checkbox will have by default: checked/unchecked.

-Show if checked: enter the aliases of those properties you want to show when the checkbox is checked. Note: these properties <b>will be hidden</b> if it's unchecked.

-Show if unchecked: enter the aliases of those properties you want to show when the checkbox is unchecked. Note: these properties <b>will be hidden</b> if it's checked.

Create a new DataType and select 'Dropdown Conditional Displayer' as the Property Editor.

You'll have to create a list of options that the dropdown will display. In addition to the value you have two other inputs used to show or hide one or more properties.

-Show if selected: enter the aliases of those properties you want to show when the checkbox is selected. Note: these properties <b>won't be hidden</b> when this value unselected. -Hide if selected: enter the aliases of those properties you want to show when the checkbox is selected. Note: these properties <b>won't be hidden</b> when this value unselected.

<strong>Note:</strong> the difference of behaviour between the checkbox and the dropdown input logic can be a bit confusing, but after a lot of testing it seems the most flexible way to combine the different possibilities when configuring them. I'm open to other behaviour suggestions.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
15.0.0 159 4/21/2025
15.0.0-alpha1 177 4/14/2025
3.6.0 318 4/14/2025
3.5.0 883 3/23/2025
3.4.0 89,691 5/8/2023
3.2.4 6,966 3/7/2023
3.2.3 266 3/7/2023
3.2.2 256 3/7/2023
3.2.1 6,999 12/5/2022
3.2.0 376 12/5/2022
3.1.0 28,123 7/23/2022
3.0.3 708 7/13/2022
3.0.2 10,828 1/18/2022
3.0.0 2,914 11/27/2021
2.3.4 43,657 9/19/2020
2.3.2 6,558 6/20/2020
2.3.1 4,977 3/11/2020
2.3.0 7,344 11/9/2019
2.2.1 794 10/1/2019
2.2.0 647 8/12/2019
1.4.0 7,127 11/9/2019
1.3.1 3,424 9/13/2019
1.3.0 3,254 2/1/2019
1.2.0 813 2/1/2019
1.1.0 1,104 1/20/2019
1.0.1 1,319 1/1/2019
1.0.0 932 1/1/2019

Includes a checkbox and a dropdown property editors.