Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • trfletch 598 posts 604 karma points
    Sep 03, 2010 @ 16:42
    trfletch
    0

    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

  • Andreas Älveborn 31 posts 52 karma points
    Sep 08, 2010 @ 00:01
    Andreas Älveborn
    0

    +1 for this feature. Would be awesome on this news website im developing.

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Nov 29, 2010 @ 18:56
    Stefan Kip
    0

    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! :-)

  • Bill 81 posts 83 karma points
    May 13, 2011 @ 15:00
    Bill
    0

    Is there any chance to change this perfect package and have the year > month > day structure. Or at least Month, Year > Day...

  • Stefan Kip 1614 posts 4131 karma points c-trib
    May 13, 2011 @ 15:12
    Stefan Kip
    0

    I'll look into this soon.

  • Evgeniy 18 posts 40 karma points
    May 30, 2011 @ 11:47
    Evgeniy
    0

    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

  • Connie DeCinko 931 posts 1160 karma points
    Jun 06, 2011 @ 22:57
    Connie DeCinko
    0

    Anyone had a chance to test this version?  I too am looking to add support for day folders.

     

  • Evgeniy 18 posts 40 karma points
    Jun 15, 2011 @ 09:18
    Evgeniy
    0

    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!

     

  • Connie DeCinko 931 posts 1160 karma points
    Jun 16, 2011 @ 20:43
    Connie DeCinko
    0

    I tried just replacing the existing DLL with yours but I get YSOD.  Do I need to do something else?

     

  • Connie DeCinko 931 posts 1160 karma points
    Jun 16, 2011 @ 21:04
    Connie DeCinko
    0

    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.

     

  • Craig Palenshus 39 posts 63 karma points
    Jun 16, 2011 @ 22:24
    Craig Palenshus
    0

    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" />

  • Connie DeCinko 931 posts 1160 karma points
    Aug 22, 2011 @ 22:29
    Connie DeCinko
    0

    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'.

     

     

    [InvalidCastException: Unable to cast object of type 'umbraco.cms.businesslogic.media.Media' to type 'umbraco.cms.businesslogic.web.Document'.]
       MyDateFolders.DateFolders.Document_AfterMove(Object sender, MoveEventArgs e) +109
       System.EventHandler`1.Invoke(Object sender, TEventArgs e) +0
       umbraco.cms.businesslogic.CMSNode.Move(CMSNode parent) +1557
       umbraco.dialogs.moveOrCopy.HandleDocumentMoveOrCopy() +1537
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +154
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3691

     

  • Martin 278 posts 662 karma points
    Feb 03, 2012 @ 12:31
    Martin
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft