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.
@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.
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.
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.
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
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
James,
Since it stopped working did you do an upgrade?
Regards
Ismail
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.
James, I meant blogPost, not blogItem.
@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!
is working on a reply...