Copied to clipboard

Flag this post as spam?

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


  • James Hildeman 92 posts 88 karma points
    Aug 27, 2009 @ 04:58
    James Hildeman
    0

    Blog4Umbraco stopped making DateFolders

    Any ideas on why when I create new posts under my Blog doctype the DateFolders would stop working.  I'm back to just creating posts that don't fall into folders.  So I have something like Blog\NewPost instead of Blog\2009\8\26\NewPost.  This was working but I must have done something to break it. 

    I don't really understand what triggers the DateFolders to be created.  Can anyone help me understand that?  Perhaps then I can solve this on my own.

  • Chris Koiak 700 posts 2626 karma points
    Aug 27, 2009 @ 08:26
    Chris Koiak
    0

    Hi,

    Blog4Umbraco contains a class that extends ApplicationBase.On Init this class hooks in to the New Document event handler.

    If the newly created document is of type 'BlogItem' then Blog4Umbraco creates the appropriate sub folders and moves the blogitem to it new location.

    Have you removed the Blog4Umbraco dll? Or changes the DocumentType names?

    Cheers,

    Chris

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Aug 27, 2009 @ 08:30
    Dirk De Grave
    0

    James,

     

    DateFolders gets triggered for each new document that gets created in the admin backend... things to check as found in documentation for this project:

    - is dll TG.Umb.DateFolder.dll still in /bin folder

    - is your config file /config/TG.Umb.DateFolder/DateFolder.config still up to date? 

     

    Cheers,

    /Dirk

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Aug 27, 2009 @ 10:14
    Ismail Mayat
    0

    James,

    Since it stopped working did you do an upgrade?

    Regards

    Ismail

  • James Hildeman 92 posts 88 karma points
    Aug 27, 2009 @ 21:23
    James Hildeman
    0

    Sorry, but I'm more confused now.  

    @Dirk: I just went to another site where blog4Umbraco and DateFolders are working successfully.  There is no file anywhere named DateFolder.config and no TG.Umb.DateFolder.dll in the bin.  The same is true on this site that is not working.  Not sure what that tells me.

    @Chris: I have doctypes of 'blog', 'blogPost' and 'blogPostComment'.  I don't see anything named 'blogItem' in either the working or non-working site.  I don't see blogItem in the blog4Umbraco package.

     

  • Chris Koiak 700 posts 2626 karma points
    Aug 29, 2009 @ 09:01
    Chris Koiak
    0

    James, I meant blogPost, not blogItem.

  • James Hildeman 92 posts 88 karma points
    Aug 31, 2009 @ 21:26
    James Hildeman
    0

    @Chris - ok, thanks.  I appreciate the post back.

    Ugh!  It seems that I just found the issue.  I installed the new v4 blog (Umlaut.Umb.Blog.dll) on a site that already had the old blog (umbracoBlog.dll).  When I saw this conflict, I deleted (actually moved outside the root) the old umbracoBlog.dll and everything started working fine.  I'm not sure why the two would conflict but it was being used when I tried to delete it and the page blew up when I renamed it until I recycled the app pool.  I'll update this if I find something else.

    Thanks to everyone who posted!

Please Sign in or register to post replies

Write your reply to:

Draft