Copied to clipboard

Flag this post as spam?

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


  • Pete 213 posts 285 karma points
    Dec 01, 2012 @ 21:08
    Pete
    0

    Display posts by month in uBlogsy

    How would I go about doing this? is there already a macro in there to do this?

    Thanks, Pete

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Dec 11, 2012 @ 12:10
    Anthony Dang
    0

    There are a couple ways.

    You could create a new template and assign it to the month folder. Then in a macroscript all you need is to iterate over Model.Children.

    Or you can copy and modify the main listing macroscript. Read a "month" querystring param and filter by

    posts.Where(x => new Date(x.GetPropertyValue("uBlogsyPostDate")).Month == int.Parse(Request["month"]))

     

     

  • 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