Fork me on GitHub

Pagesetter : display last publication form today  Bottom

  • I've created a field with the date and time a TV series next airs, and I would like to create a block to display the next 4 broadcasts from today on. However, if I sort by "publishing date", the block displays the last 4 creations sorted by date. But I would like it to display the next 4 broadcast starting today and then, when the date is over, to display the next broadcast.

    I'm not sure I'm being really clear here, but if you get what I mean, do you have any idea how to do that ?

    Thanks for you help
    Dumb French boy
  • eg.

    Code

    filter=yourdatefield:eq:@now&sortby=$yourdatefield:desc


    something like that, check Pagesetter manual on elfisk.dk or pagesetter.net, lotz of snippets.

    - Igor
  • Sorry for this question :s I've haven't seen it :$

    A new time : Thank you

This list is based on users active over the last 60 minutes.