Infocaster.Umbraco.DateFolders
9.0.10
Prefix Reserved
See the version list below for details.
dotnet add package Infocaster.Umbraco.DateFolders --version 9.0.10
NuGet\Install-Package Infocaster.Umbraco.DateFolders -Version 9.0.10
<PackageReference Include="Infocaster.Umbraco.DateFolders" Version="9.0.10" />
paket add Infocaster.Umbraco.DateFolders --version 9.0.10
#r "nuget: Infocaster.Umbraco.DateFolders, 9.0.10"
// Install Infocaster.Umbraco.DateFolders as a Cake Addin #addin nuget:?package=Infocaster.Umbraco.DateFolders&version=9.0.10 // Install Infocaster.Umbraco.DateFolders as a Cake Tool #tool nuget:?package=Infocaster.Umbraco.DateFolders&version=9.0.10
Datefolders
This package creates Datefolders (year/month(/day)) for the specified doctype for Umbraco 9. For umbraco 8 use v3, for older versions please use v2
Behavior
- When you create a document with doctype "itemDocType", this package will automatically create year/month/day folders for it
- When you edit the "itemDateProperty", the document is automatically moved to the correct year/month/day folder
- Automatically cleans up empty year, month and day folders
- Orders the items in the year, month and dayfolders by "itemDateProperty" with every action
Configuration
Add these keys/values to your appsettings.json in a new section:
<pre> "DateFolders": { "ItemDateProperty": "", // the property of the itemDocType to read the date from (e.g. "startDate") (don't add this key if you just want to use the document's create date) "CreateDayFolders": false, // boolean indicating whether or not day folders should be created "OrderByDescending": true, // boolean indicating sort order for date folders (default: false) "FolderDocType": "dateFolder", // the doctype to use for creating the year/month/day folders (e.g "DateFolder") "ItemDocTypes": [ "contentPage" ] // the doctype alias to create datefolders for (e.g. "newsItem") - multiple doctype aliases are allowed } </pre>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net5.0
- Umbraco.Cms.Core (>= 9.0.0)
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 |
---|---|---|
14.0.0-beta0003 | 76 | 7/30/2024 |
11.0.0 | 1,665 | 12/2/2022 |
10.1.0 | 2,440 | 8/18/2022 |
10.0.0 | 456 | 8/2/2022 |
10.0.0-beta0003 | 184 | 8/2/2022 |
9.0.10 | 581 | 1/19/2022 |
3.0.2 | 549 | 1/19/2022 |