Blog Sections Open

Understanding `landingPage` Behavior in AjaxSearch for Evolution CMS

How to reason about `landingPage` in AjaxSearch when the same query behaves differently across sections.

AjaxSearch can be confusing when the same search parameters produce different behavior depending on whether a landing page is set. That is because landingPage changes the context in which the search form resolves and where the request ultimately lands.

If one setup points the search to a dedicated results page and another leaves the request in the current section, the difference is not cosmetic. It affects which parents, depth rules, and output templates actually participate in the request.

The practical lesson is to treat landingPage as part of the query architecture, not as a visual convenience. Once you do that, the inconsistent behavior becomes easier to debug.

Newer post

Making FirstChildRedirect Work Cleanly with Breadcrumbs and Wayfinder

How to avoid navigation inconsistencies when FirstChildRedirect is used together with breadcrumb and menu components.

Older post

Filtering getResources by a TV That Matches the Current Resource in Evolution CMS

How to filter getResources results by a TV value that should match data from the current resource, and why direct placeholder substitution can fail.