Specific month and day doc type aliases used when creating #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey @D-Inventor!
I am raising this as a draft PR in case you have any input on the approach I'm taking for issue #3.
I have got as far as updating the code for the creation of new items. My next step is to update the code for the saving of existing items, and then finally to check the two recycle bin related notification handlers.
This has been tested on a v11 site, both with the new feature (i.e. with
MonthFolderDocType
andDayFolderDocType
options configured) and without (i.e. the way you had previously).Whilst I've been working on this I also did a bit of consolidating of the readme instructions:
ItemDocType
alias to 'blogpost' as theAllowedParentDocTypes
is set to 'blog'. I think blog posts are also a more likely use case than someone using it for a generically named doc type such as 'contentPage'I checked Infocaster's contributing guidelines: there isn't a
contrib
branch on this repo so I assumedv11/develop
was the one to branch from 🤞