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
there is no error, it gently renames the file
How to upload js and gz files
Could be a trivial thing like Permissions -> Access administration bar (for a role)?
User seeing admin stuff
Can you paste or screenshot the error you encounter?
How to upload js and gz files
wont work, it is hard coded to be blocked.
How to upload js and gz files
Make sure it's a file field and enter the allowed file types, e.g.:
How to upload js and gz files