Views block - how to keep the current selected page active between page reloads?

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
lukus's picture

Hi

I have a simple list of node references, which has been been produced via Views - and is being displayed as a block.

When the list is full, it's spans multiple pages. I've enabled the pager which allows the user to navigate between these pages. I'm also making use of the ajax feature to allow each page to be loaded without a page refresh.

My question is, how would it be possible to keep the current selected page active between page reloads?

I understand that state can be maintained using URL arguments, and that this method is used when a view is rendered as a page (e.g. 'page=1' in the URL).

Is a solution like this possible for a block as well?

Thanks

Luke

Comments

BTW - this is a views block

lukus's picture

BTW - this is a views block