0

I have a listing of news, used with Views module in Drupal 7. I have activated Use Ajax in advanced section. So now the pager loads the content smoothly, without loading other page. That is nice, but the pager is not recording the history of the browser, so when I hit several pages of the same listing, it loads all the content perfectly but when I hit the Back button of the browser, instead of going to the last page clicked on the listing, goes to a previously visited site, even a different website, depending on my browser history. This happens, aparently, because there seems to be no built-in mechanism to record website history or at least change the toolbar address with "#" so it can have a behaviour similar to what be expected. Is there some way of circumventing this?

0

I have not used but you can take a look

Statehandler module and History.js module

2
  • Thanks. I will give it a look. I am very surprised that it is not standard behaviour. This one and the "click enter twice" issue of the Autocomplete input fields do put Drupal sites behaviour to the final user as if the pages had been made 5-10 years ago!
    – Cesar
    Dec 28 '15 at 10:34
  • @Cesar did you get any success in integrating Ajax page with history.js? May 16 '17 at 6:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.