Blogger Forums » Blogger Widgets

Recent Posts INVERT

(4 posts)
  1. Toger64

    new member
    Joined: Aug '09
    Posts: 2

    Hey,

    I very much like the "Recent Posts"-Widget, because it provides a good archive without having the need to show all the dates and months etc. in a stupid hierarchy.

    Question: Is it possible to show the oldest of the recent posts on top, then the one after, and so on...? Just like the original widget, but the other way around, the LATEST post should be at the bottom of the list....

    Posted 2 years ago #
  2. aneesh

    site admin
    Joined: Jul '09
    Posts: 244

    which widget are you talking about?
    The plain recent posts widget or the Advanced Version of it using thumbails..
    In both cases it is possible,but you will have to modify the javascripts to that..

    Posted 2 years ago #
  3. Toger64

    new member
    Joined: Aug '09
    Posts: 2

    Hi,

    I am talking about the one without the thumbnails. I just want it to use as a kind of archive, looking like this, very basic-style:

    Day 01: Arrival
    Day 02: Sightseeing
    Day 03: . . .

    So how do I modify the javascript? Thanks for your help...

    Posted 2 years ago #
  4. aneesh

    site admin
    Joined: Jul '09
    Posts: 244

    for (var i = 0; i < numposts; i++) in that external javascript file there is a loop like this

    change it to
    for (var i = numposts-1; i >=0; i--) to get the reverse effect.. you will have to use additional conditions for handling blogs which have less posts that what you give in the numposts..

    this code is located in the external js file.. so you will have to edit it and upload it somewhere else and reference it in the widget code!

    Posted 2 years ago #

RSS feed for this topic

Reply

You must log in to post.