Views load more is replacing the results rather than appending those below the existing ones.

I am using block for content listing and need a append more option to load more content below the existing one. I tried views show more and views load more extensions.

You can also try Views Infinite Scroll module.

Views infinite scroll allows you to load and display pages of any view inline, using AJAX (this has been called infinite scrolling, load more, autopaging, endless pages and more). The pager can be triggered with the press of a button or automatically as the user scrolls to the bottom of the view's content.

  • Yes I tried this extension as well but it didn't work – Kaustubh Bhagwat Apr 1 '16 at 7:37
  • 2
    It does work @KaustubhBhagwat, I use it on a bunch of different sites – Clive Apr 1 '16 at 8:19

I think you have to add .view-content in Advanced Options, see the attached screenshot.

Not sure it is a bug or not, when I put that it starts working as expected.

enter image description here

Consider using GD Infinite Scroll module. Does exactly what you are wanting to do.

Use "Views Load More" and set "Use AJAX" option to Yes under Advanced view settings.

I just encountered this same issue, and it appears that views_infinite_scroll will replace, rather than append, if you have theme_debug on. i.e. $conf['theme_debug'] = TRUE;. Turning this off returned it to its normal append behavior.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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