Blog Sections Open
Adding First and Last Links to Ditto Pagination
A small pagination enhancement that made long Ditto listings easier to navigate.
Ordinary numbered pagination works, but long listings often benefit from explicit “first” and “last” links. This small Ditto + PHx pattern added exactly that without needing a dedicated package.
Example idea
[+phx:if=`[+news_currentPage+]`:is=`1`:then=``:else=`<a href="/novosti?news_start=0">First</a>`+][+phx:if=`[+news_currentPage+]`:is=`[+news_totalPages+]`:then=``:else=`<a href="/novosti?news_start=[+phx:math=`[+news_totalPages+]-1`+]0">Last</a>`+]Why it belongs in the archive
This is a modest tweak, but it reflects a very common Evo workflow: refine existing snippet output with a small amount of PHx logic instead of waiting for one more package release.
Why this belongs in the timeline
Pagination polish was one of the places where teams kept refining the default snippet behavior. These small UX improvements add up to a much more usable archive of real project patterns.
Bulk Editing Resources in Evolution CMS with Fast Content CSV
A practical guide to using Fast Content CSV for bulk resource updates, imports, exports, and field maintenance in older Evolution CMS projects.
SEO-Friendly Pagination URLs for Ditto
A historical plugin pattern for turning `?start=` links into cleaner `/page/N` pagination in Evo.