Clip.Umbraco
1.0.0
See the version list below for details.
dotnet add package Clip.Umbraco --version 1.0.0
NuGet\Install-Package Clip.Umbraco -Version 1.0.0
<PackageReference Include="Clip.Umbraco" Version="1.0.0" />
paket add Clip.Umbraco --version 1.0.0
#r "nuget: Clip.Umbraco, 1.0.0"
// Install Clip.Umbraco as a Cake Addin #addin nuget:?package=Clip.Umbraco&version=1.0.0 // Install Clip.Umbraco as a Cake Tool #tool nuget:?package=Clip.Umbraco&version=1.0.0
Clip
One of the great features of Umbraco's backoffice is the permissions model applied to content types - developers can implement a tightly controlled information architecture by configuring the parent-child relationships between those content types.
That's lovely, and allows developers plenty of control over how the site is ultimately structured.
However, there are a couple of gaps in how that model works:
- it's not possible to control who can create which types
- it's not possible to control how many of each type can be created
Fret not, Clip is here to help.
Control who creates what
We know Umbraco offers lots of flexibility, but sometimes we need to reign that in a little.
In large sites, with lots of user groups and more content types, we need to be able to control which groups can create which types.
Clip adds this functionality to the backoffice by allowing administrators to set permitted content types for each user group.
When creating new content, the allowed child node list is filtered to include only the permitted types.
Control how many of each type
Sometimes it doesn't make sense to allow more than one instance of a content type.
Typically, a site might have one news landing page. It more than likely has one homepage.
A site for a restaurant might have a page for each location, but shouldn't allow editors to create additional locations.
Clip adds this control to the backoffice by allowing administrators to set a maximum item count for any document type.
When creating new content, the allowed child node list is filtered to include only types that haven't hit their maximum item count.
Why Clip?
Clip follows hot on the heels of Flip and Blip, so obviously needed to follow the silly naming pattern.
Blip is the Block List Item Picker.
Flip is the document-type flipper.
Clip trims the allowed child types.
Easy!
Getting started
Install Clip: dotnet add package Clip.Umbraco
or Install-Package Clip.Umbraco
.
After restarting your site, you'll find a new node in the settings tree - 'Content Creation Rules'.
The view allows adding rules for user groups and content type limits.
Contributing
Sure, pull requests are more than welcome. Go for it.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Umbraco.Cms.Web.BackOffice (>= 10.3.2)
- Umbraco.Cms.Web.Website (>= 10.3.2)
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 |
---|---|---|
13.0.1 | 861 | 3/9/2024 |
13.0.0 | 265 | 2/15/2024 |
12.0.1 | 122 | 3/9/2024 |
12.0.0 | 210 | 9/5/2023 |
11.1.0 | 152 | 9/13/2023 |
11.1.0-rc1 | 129 | 3/17/2023 |
11.0.2 | 362 | 2/2/2023 |
11.0.1 | 316 | 1/22/2023 |
11.0.0 | 338 | 12/22/2022 |
10.1.1 | 122 | 3/9/2024 |
10.1.0 | 165 | 9/13/2023 |
10.1.0-rc1 | 131 | 3/17/2023 |
10.0.2 | 332 | 2/2/2023 |
10.0.1 | 296 | 1/22/2023 |
10.0.0 | 318 | 12/22/2022 |
1.0.0 | 348 | 11/15/2022 |
1.0.0-rc1.969 | 142 | 7/16/2022 |