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
Issue created.
Front page disappear after update to 1.22
I don't think the update intended to disable those. It's probably a bug or a regression. Would you be willing to open an issue in the Backdrop queue with detailed information on how to reproduce?
Front page disappear after update to 1.22
The blocks in the layout/template were de-activated. They are not 'custom' but I use 'layout-node' module for the front page. All other pages are fine. The site is: https://havredalzendo.dk/ No...
Front page disappear after update to 1.22
That's strange. Would you mind providing more details about how the home page was set up? If this is a bug with 1.22.0 it'd be great to try to fix it, but it'd be crucial to be able to reproduce the...
Front page disappear after update to 1.22
It was not caused by Paragraphs but my my use of filefield_paths. I had omitted to put anything in the Temporary file location setting at: admin/config/media/file-system/filefield-paths so I added...
Uploaded image files stored in system/temporary (solved)