Blog Sections Open
Sorting eFilter and DocLister Items by Values from Another Table
An advanced extras note on ordering filtered DocLister results by ranking data stored in a separate table instead of the main resource table.
Standard catalog sorting is easy when every sort field lives on the resource itself. Things get more interesting when ranking or rating data is stored in a separate table and depends on context such as the current category.
The scenario
A project stores per-category rating data in a separate table such as content_rating(id, category, rating) and wants eFilter plus DocLister to sort results by that external rating value.
What makes this advanced
- sorting data does not live in the main content row
- the ranking depends on the category context
- the filter layer and the list layer need to agree on the same dataset
This pattern is valuable because it shows how catalog logic often grows beyond the flat resource model and starts depending on joined or context-specific data tables.
Multilingual Patterns in MODX Evo 1.0.15
A historical multilingual note for older MODX Evolution projects that needed a practical way to add another language and choose a default language flow.
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.