Drupal View - load more with ajax -


i have view (block display) listing node titles of content type displaying latest 12 published items. displays underneath nodes of specific type.

what i'd able load next 12 items ajax (i know pager hoping avoid it) , control offset based on node title.

i think second request can achieved row number in query far i'm having trouble achieving working script.

you can call view results drupal api:

$results = views_get_view_result('my_view',$display, $args) 

and in arguments can pass start/end number of items, or else, depends how sorting results


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -