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
@herb I appreciate your work.
Is there a private messaging module in Backdrop CMS?
Hi argiepiano I opened an issue and hope that I have done it correctly: https://github.com/backdrop/backdrop-issues/issues/6305
Sending messages in Cyrillic and PHP 8
Use CSS Injector... it's a lot easier.
Total noob trying to edit the css
side note... for feeds, use a spreadsheet to create a CSV file... then import with feeds. I've just done the same with 2500 images in an image gallery.
Tried to import a bunch of files and accidently made a mobius filesystem
You could use the Feeds module to in effect, import them from the saved location... it's what I've done a few times. Another option is the bulk file uploader... but if they are already on the server...
Tried to import a bunch of files and accidently made a mobius filesystem