Blog Sections Open

Building AJAX Search Result Panels with mSearch in Evolution CMS

How to build an AJAX result panel around mSearch so the query form and the result block stay in sync.

Search feels much faster when the results appear in a dedicated panel without a full page reload. The original setup used a form that submitted through jQuery, loaded a result page into a container, and then rebound pagination links inside that AJAX-loaded block.

The underlying lesson is more important than the exact script: once search results are loaded asynchronously, pagination and query state have to become part of the same AJAX contract. Otherwise the first results load correctly and the next page links throw the visitor back into a normal page request.

This is a strong reusable pattern for Evolution CMS search interfaces, especially on content-heavy sites where keeping visitors on the same page improves exploration.

Newer post

Making SimpleSearch Query TV Data in Evolution CMS

How to configure SimpleSearch so it can search not only pagetitle and core fields, but also TV data when needed.

Older post

Rendering Ditto Pagination Outside the Listing Container in Evolution CMS

How to keep Ditto pagination placeholders working when the page links are rendered outside the main listing block.