- Moderated by:
- Support Team
-
- rank:
-
Helper
- registered:
- March 2007
- Status:
- offline
- last visit:
- 07.11.08
- Posts:
- 143
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
--
-
- rank:
-
Professional
- registered:
- March 2003
- Status:
- offline
- last visit:
- 19.11.08
- Posts:
- 901
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
--
Have a nice day
zikulapro.be is currently running
Zikula 1.0.2
