Copied to clipboard

Flag this post as spam?

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


  • sdfsfm 70 posts 94 karma points
    Jul 31, 2010 @ 11:09
    sdfsfm
    0

    Is it possible to change the structure of Blog4Umbraco?

    Basically instead of having it  like... Blog>2010>1>21>the blog post title.... just having it blog>the post title?

  • Sascha Wolter 615 posts 1101 karma points
    Jul 31, 2010 @ 12:44
    Sascha Wolter
    0

    I don't think this is possible out of the box, e.g. by just setting a config parameter. You would have to go down into the source I guess and modify the EventHandlers/BlogDateFolder.cs file which hooks up to the Document.BeforePublish event where the date folder structure is created. Unfortunately you would have to change a couple of Xslt files as well as they will rely on the date folder structure for the presentation.

     

  • sdfsfm 70 posts 94 karma points
    Aug 03, 2010 @ 10:58
    sdfsfm
    0

    HI Sascha, I will give it a go, thanks for the info

  • Matt Brailsford 2958 posts 15629 karma points MVP 7x c-trib
    Aug 03, 2010 @ 11:23
    Matt Brailsford
    0

    Hi Ivor,

    It might be worth looking into the Auto Folders package. I don't think you'll be able to do a direct swap out, but Auto Folders has a truncated path feature, which lets you miss out the date part and it still resolves to the actual article. I belive this is dont with a custo 404 handler.

    It might be worth taking a look at how they do it, and implement something similar in blog4umbraco. Not exactly the answer, but a good starting point at least.

    Matt

  • 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