Blog Sections Open
Matching Related Articles by TV Values in DocLister
A component-focused note on building related article blocks in DocLister by comparing shared values stored in a TV field.
One of the most useful related-content patterns in Evolution CMS is showing articles that share the same topic tags or semantic markers stored in a TV. If the TV contains words such as flowers, forest, sky, DocLister can use that data to build a related list.
The idea
Instead of hard-coding related resource ids, compare the current resource’s TV values with the TV values of other resources and return items that overlap.
Why this pattern is useful
- editors control the relation through content fields
- the block stays dynamic as the content set grows
- the same logic can power “related articles”, “similar products”, or thematic archives
The important part is keeping the TV values structured consistently enough for reliable matching.
Matching DocLister Articles by Shared TV Values
How to show related articles in DocLister by matching a shared TV value instead of hard-coded document lists.
Making FormLister Work with AJAX in Evolution CMS 1.4.x and 3.x
How to run FormLister in API-style mode and return JSON validation errors so the form can be submitted over AJAX without a full page reload.