Infocaster.Umbraco.DateFolders 9.0.10

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
There is a newer version of this package available.
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
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="Infocaster.Umbraco.DateFolders" Version="9.0.10" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Infocaster.Umbraco.DateFolders --version 9.0.10
#r "nuget: Infocaster.Umbraco.DateFolders, 9.0.10"
#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.
// 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
11.0.0 562 12/2/2022
10.1.0 2,059 8/18/2022
10.0.0 411 8/2/2022
10.0.0-beta0003 144 8/2/2022
9.0.10 535 1/19/2022
3.0.2 479 1/19/2022