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

febbraro’s picture

Interesting 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.

nbchip’s picture

I 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?

nbchip’s picture

I 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 ;)

nbchip’s picture

Status: Active » Closed (fixed)