Think I found it: http://joelabrahamsson.com/automatically-organize-episerver-pages/
Although this is based on EPiServer 6 R2 (I assume) using Page Type Builder..
I guess it's jst to convert the code to work with IContentRepository, IContentEvents and ContentReference and it should probably be fine to run in EPiServer 7.
Hi Danny,
you may be referring to this blogpost using the Epinova DateTreeArchive plugin: http://www.epinova.no/blog/Thomas-Leela/dates/2012/12/create-archive-hierarchies-in-episerver/
It's available on CodeResort for CMS 6 but as Linus says, you should be able to convert it to the new CMS 7 API.
Hi Danny,
As Arild said , I have used DateTreeArchive plugin in my projects(EPiServer CMS 6). It works great. Have it a try...
Is there a blog post somewhere (I am sure I've seen it) that shows the best practice when dealing with news sections on your site, where there could be several news articles?
I’m thinking about users creating new news articles, and upon save, this being into a year/month folder structure depending on the news article date..
So, my tree may look like:
But articles get moved upon save. i.e. created under "News" and moved when saved.
Is this a good approach to take?
I’m sure I’ve read something about using the approach, but just can’t find it.