Creating date "folders" like the blog package Options
tim
Posted: Monday, April 16, 2007 3:15:55 PM

Rank: Addict

Joined: 2/19/2007
Posts: 825
Location: Belgium
Hi,

Does anybody know how you can create date 'folders' automaticly. The blog package has this feature. When you ad a new post, it automaticly creates a folder for year/month/day and places the post in the day folder. I would like to use this for certain document types, so they are better organized .
Thanks

Umbraco tips and tricks: http://www.nibble.be - umbraco mvp 08/09 - certified level 1 & 2 professional
mortenbock
Posted: Monday, April 16, 2007 4:23:48 PM

Rank: Addict

Joined: 7/19/2006
Posts: 815
Location: Århus, Denmark
The way to do it is to create an actionhandler. I'd suggest getting hold of the blog package source and take a look at how it's done there.

Morten Bock - Level 2 certified - MVP 2008/2009 - My danish blog with a few english posts

tim
Posted: Monday, April 16, 2007 4:25:50 PM

Rank: Addict

Joined: 2/19/2007
Posts: 825
Location: Belgium
Where can I find the source ?

Umbraco tips and tricks: http://www.nibble.be - umbraco mvp 08/09 - certified level 1 & 2 professional
mortenbock
Posted: Monday, April 16, 2007 4:34:26 PM

Rank: Addict

Joined: 7/19/2006
Posts: 815
Location: Århus, Denmark
I thinks it's in the svn here:

svn://svn.umbraco.org/var/lib/svn/umbraco-extensions

And a little help for svn if you haven't used it before:

http://umbraco.org/frontpage/download/downloadsource/howtousesubversionwithumbraco.aspx

Morten Bock - Level 2 certified - MVP 2008/2009 - My danish blog with a few english posts

tim
Posted: Monday, April 16, 2007 4:46:18 PM

Rank: Addict

Joined: 2/19/2007
Posts: 825
Location: Belgium
Thank's I'll take a look at that



Umbraco tips and tricks: http://www.nibble.be - umbraco mvp 08/09 - certified level 1 & 2 professional
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.