Closed (fixed)
Project:
AJAX Views
Version:
5.x-1.5
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2008 at 23:45 UTC
Updated:
19 Jan 2009 at 05:00 UTC
I would like to dynamiclly list variable number of nodes from certain date... so first block view shows all nodes from today ,clicking next brings all nodes from today-1 and so on...
I was thinking using Views Date Range Filter and changing Date Filter in Argument Handling Code by using Ajax Selector argument. Would something like that be possible, and how to access Ajax Selector argument?
thx.
Comments
Comment #1
febbraro commentedInteresting question, I'm not really sure how you would do that just yet. The AJAX Selector argument is just /ajax added to the URL. I'm not sure exactly sure how to do what you are trying but it sure seems possible.
Comment #2
nbchip commentedI made it working, but the problem is when there are no results, views return whole page which then ajax_views tries to load and the error is made...
So how to stop views returning page when there are no results?
Comment #3
nbchip commentedI had to modify theme_views_view function. Now everything works fine and i can list nodes day by day. Will also add JS calendar so users can choose to only see nodes from certain date. And nodes load ajaxy ;)
Comment #4
nbchip commented