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
Hello @NumerousHats, I agree with your assessment. I am looking into this situation right now. The root of this problem is that Backdrop CMS is implemented on top of a "stack" of...
Update Core and Theme via Web interface
I just installed a Backdrop CMS site with version 1.27.0. I then used the user interface to download and update Backdrop CMS to 1.30.0. After starting the update process, and on the...
1.30.0 update.php generates incorrect link
I believe my permissions are set up correctly, as I can install modules from the UI. But for whatever reason, I can't update them. I will, however, double check against that documentation.
Update Core and Theme via Web interface
I'm not sure if this is helpful, but here are pages in Backdrop documentaion about server level permissions. https://docs.backdropcms.org/documentation/file-permissions-and-ownership...
Update Core and Theme via Web interface
Just ran into this issue while upgrading modules on a site I'm setting up. I'm confused. Does this mean that /modules needs to be owned by www-data? (Not just that www-data...
Update Core and Theme via Web interface