Copied to clipboard

Flag this post as spam?

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


  • aaronb 97 posts 116 karma points
    Jul 30, 2010 @ 16:21
    aaronb
    0

    blog4umbraco - using datefolders with multiple doctypes?

    (I think I posted this in the wrong section the first time, apologies)

    This problem has had me stuck for a while now.

    I've installed the blog4Umbraco, but when I want to use anything other than a document type of alias "BlogPost", the documents don't get put into the autofolders/datefolders tree.

    Instead, they just sit at the top level. Renaming it back to "BlogPost" they again get put in the correct date folders.

    I want to end up with two types of post that can be created, with different document types. I need them to both be automatically put in the date folders.

    I've heard I should be editing the autofolders.config file, but as far as I can tell, blog4umbraco doesn't install this. 

    Please could anyone point me in the right direction with this?

  • Tim 1193 posts 2655 karma points c-trib
    Aug 06, 2010 @ 10:13
    Tim
    0

    What config files are in your /config folder?

  • aaronb 97 posts 116 karma points
    Aug 06, 2010 @ 16:26
    aaronb
    0

    Thanks Tim,

    I have messed with this some more, and just about achieved what I needed to by using the autofolders plugin and borrowing code from some of the blog xslt instead of trying to modify the blog itself.

    (I don't have a record of what config files were originally there unfortunately - I now have several more from installing autofolders etc.)

    I was trying to make it so that a client can enter two types of news item - a press release or a general news item, and they would be sorted into date folders. I am assuming the blog handles the document types which get sorted by datefolders in a different manner, and wasn't able to find the code.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies