I have a page callback that loads up view with views_get_view_results($view_name) that loads the results just fine and I have what I need for display, but I can not figure out how to load the pager data so I can put pagination onto the page and detect when there are previous and next pages.
I'd like to have access to items_per_page, current_page, total_items which are all defined in the views_plugin_pager class.
If I load the view with views_get_view($view_name) it loads the view object un-executed and calling $viewObj->current_page(), for example just returns NULL.
Any help would be appreciated.
Recent comments
Update: I tried to use Leaflet and Geofield with Geocoder, but can't get geocoding from other field working at all. But at no point the map breaks. It just stays empty. Is there really,...
Disappearing administration bar. Is this a Leaflet or a Backdrop bug?
To me this clearly looks like some wrong use of the Leaflet library at some point. But the problem is not the empty map (alone), which works fine and never caused me trouble. Something...
Disappearing administration bar. Is this a Leaflet or a Backdrop bug?
Clearing the cache was one of the things I tried. This included truncating the cache tables that don't get cleared by the flush all caches button, as well as sessions and tempstore tables. This...
Disappearing administration bar. Is this a Leaflet or a Backdrop bug?
So tried accessing the updates.backdropcms.org server again and tech support said: Hello, It looks like outside of the server that host isnt accessible currently -- jeremy_a@khsupport...
Unable to run update - fails with Connection timed out
It was the ProtectHome setting in the apache service which was the problem. I did this: systemctl edit apache2.service Then added this: [Service] ProtectHome=no...
Write Permission Problems on files, ../private and /tmp on my Laptop