Blog Sections Open

Rendering Ditto Pagination Outside the Listing Container in Evolution CMS

How to move Ditto pagination outside the listing container without losing the placeholder output.

It is common to want the news or catalog listing inside one container while the page navigation sits elsewhere on the page. With Ditto, that is only safe if the pagination placeholders still belong to the same snippet call and ID namespace.

The original setup rendered the listing inside one wrapper and the pagination below it using placeholders like [+catalog_previous+], [+catalog_pages+], and [+catalog_next+]. That is a strong pattern because it separates layout concerns without giving up Ditto’s built-in pagination logic.

The main lesson is to keep the Ditto instance ID stable. Once the placeholder prefix and the snippet instance stay aligned, the pagination can live outside the loop markup just fine.

Newer post

Building AJAX Search Result Panels with mSearch in Evolution CMS

How to wrap mSearch in an AJAX-driven result panel so search suggestions and paginated results update without a full page reload.

Older post

Adding Custom TinyMCE Buttons in Evolution CMS

How to extend TinyMCE with custom toolbar buttons in Evolution CMS instead of waiting for a perfect plugin to exist already.