I have just installed your package and it seems to work as you suggested although I had my previous Autofolders package setup to organise the documents in Year, then Month (with the Month name), then day so my structure looked like the following, would it be possible for you to release an update for the package that can do this or at least let me have the source code so I can have a go myself (or more likely ask someone I know that does asp.net coding!). This is how my folder structure used to work with Autofolders:
Hi, here is my version based on datefolders 1.3. It contains day folders, and also supports document move (such as you have tree like news-categories-newsitem you can move items beetween categories)
Renamed it back to your file name and it works. I see that your version does not pad the month to two digits (leading zero). Do you see any issue with sorting?
Also, perhaps a minor issue... when a empty folder is deleted, the tree does not open back up to the parent of that deleted folder.
How ironic, we just updated the code, too, to accept multiple itemDateProperties. Our revision is a little different, though, as it takes the first item in the comma separated list, not the last, and it supports the PDCalendar package.
For the PDCalendar support, we used the code supplied by Rob Watkins which worked great.
I'd love to share the .cs or .dll or both with others. I'm happy to email it or make it available on a dropbox. Any thoughts kipusoep?
Month folders with full name and day folders
Hi kipusoep,
I have just installed your package and it seems to work as you suggested although I had my previous Autofolders package setup to organise the documents in Year, then Month (with the Month name), then day so my structure looked like the following, would it be possible for you to release an update for the package that can do this or at least let me have the source code so I can have a go myself (or more likely ask someone I know that does asp.net coding!). This is how my folder structure used to work with Autofolders:
News
- 2010
- July
- 23
- News article 1
- News article 2
- News article 3
- 16
- News article 4
- News article 5
- 09
- News article 6
- June
- 19
- News article 7
- News article 8
- 15
- News article 9
+1 for this feature. Would be awesome on this news website im developing.
I released the source code and added it as a download.
If you adjust it by adding this feature, could you notify me via this topic? Thanks! :-)
Is there any chance to change this perfect package and have the year > month > day structure. Or at least Month, Year > Day...
I'll look into this soon.
Hi, here is my version based on datefolders 1.3. It contains day folders, and also supports document move (such as you have tree like news-categories-newsitem you can move items beetween categories)
DLL
Code
Anyone had a chance to test this version? I too am looking to add support for day folders.
I have updated my version of datefolders.
-refactored code
-support for multiple itemDateProperty (comma separated), it takes last correct value of all you has set in this property
-fixed bug with autopublishing new docs
Code
DLL
Please feedback if your have any problems with it!
I tried just replacing the existing DLL with yours but I get YSOD. Do I need to do something else?
Renamed it back to your file name and it works. I see that your version does not pad the month to two digits (leading zero). Do you see any issue with sorting?
Also, perhaps a minor issue... when a empty folder is deleted, the tree does not open back up to the parent of that deleted folder.
How ironic, we just updated the code, too, to accept multiple itemDateProperties. Our revision is a little different, though, as it takes the first item in the comma separated list, not the last, and it supports the PDCalendar package.
For the PDCalendar support, we used the code supplied by Rob Watkins which worked great.
I'd love to share the .cs or .dll or both with others. I'm happy to email it or make it available on a dropbox. Any thoughts kipusoep?
Here's what the line looks like in my web.config:
<add key="itemDateProperty" value="postDate,event/pdcalendarevent/pdcstart" />
I noticed when sorting Media items that I now get this error:
Unable to cast object of type 'umbraco.cms.businesslogic.media.Media' to type 'umbraco.cms.businesslogic.web.Document'.
Hi,
Does anyone know how to change the dates into Month titles?
Im not a developer, so if someone could help in layman terms.
Thanks
Martin
is working on a reply...