-
Notifications
You must be signed in to change notification settings - Fork 2
/
ReadMe.txt
34 lines (27 loc) · 2 KB
/
ReadMe.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
_____ _ __ _ _
| __ \ | | / _| | | | |
| | | | __ _| |_ ___ | |_ ___ | | __| | ___ _ __ ___
| | | |/ _` | __/ _ \ | _/ _ \| |/ _` |/ _ \ '__/ __|
| |__| | (_| | || __/ | || (_) | | (_| | __/ | \__ \
|_____/ \__,_|\__\___| |_| \___/|_|\__,_|\___|_| |___/
========================================================
Add the following configuration to your appsettings.json file:
"DateFolders": {
"ItemDateProperty": "",
"CreateDayFolders": false,
"OrderByDescending": true,
"FolderDocType": "dateFolder",
"ItemDocTypes": [ "contentPage" ],
"AllowedParentIds": [ "9E5C1E16-96CA-4DBD-A07A-9A806736FCBA" ],
"AllowedParentDocTypes": ["blog"]
}
ItemDocType | The doctype alias to create datefolders for. (e.g. "contentPage") - comma separated values are allowed for multiple doctype aliases
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)
DateFolderDocType | The doctype to use for creating the year/month/day folders. (e.g "DateFolder")
CreateDayFolders | Boolean indicating whether or not day folders should be created, if false only years and months are created.
OrderByDecending | Boolean indicating sort order for date folders (default: false)
AllowedParentIds | (Optional) The node key for the parent(s) to limit the creation of datefolders to. Comma separated values are allowed for multiple nodes
AllowedParentDocTypes | (Optional) The doctype alias for the parent(s) to limit the creation of datefolders to. (e.g. "blog") - comma separated values are allowed for multiple doctype aliases
For more information, check out the links below:
Github - https://github.com/Infocaster/Datefolders
Our Umbraco - https://our.umbraco.com/packages/developer-tools/datefolders