ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Most recent posts in chronological order

March 08, 2011 12:12am

Subscribe [2]
  • #1 / Mar 08, 2011 12:12am

    Todd Levy

    20 posts

    Hey all -

    I’m trying to do something and can’t seem to figure it out using the basic exp:weblog:entries tag.

    Wondering if there’s a way and/or if I’ll need to use a query?

    Here’s the gist…

    I would like to show my 3 most recent entries, but have them rendered in chronological order (oldest first).

    If I limit 3, order by “date”, and sort “desc” I get the three most recent but they are listed in reverse chronological order (newest first).

    If I limit 3, order by “date”, and sort “asc” they are listed in chronological order (oldest first) but they are the three least recent.

    Hope that made sense. Any help appreciated.

    TL

    P.S. Page is here fwiw… http://sheenaholic.com/ ...though I don’t think it’s relevant for this post. Fortunately at the moment there are only three entries so I’m able to achieve the desired effect but this won’t be the case shortly.

  • #2 / Mar 15, 2011 12:24pm

    Todd Levy

    20 posts

    Bump in hopes of a solution.

  • #3 / Mar 16, 2011 8:13pm

    smartpill

    456 posts

    This is probably not ideal, but I suppose you could grab the entry IDs of the three most recent entries and pass them to an embed with the sort in the embedded template set to oldest first.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases