Blog Sections Open
Duplicating Selected Rows in DocLister with prepare and Extenders
A practical DocLister pattern for cases where one selected item needs to be repeated, extended, or transformed before final output.
DocLister is strong precisely because it lets you intervene between query and output. The donor topic asked how to duplicate some selected rows from a DocLister result set, which is a good example of where prepare or extender-level logic becomes more appropriate than trying to bend the base query itself.
Why this belongs in prepare logic
- The underlying query may already be correct.
- You only want to duplicate or transform rows under specific conditions.
- Template-level duplication usually becomes messy and hard to maintain.
In practice, this kind of task is best handled in a post-query layer: intercept the row data, clone the selected item when the rule matches, and let DocLister render the final expanded list. That keeps the content rule explicit instead of hiding it in HTML markup tricks.
Using Different Domains for Each Language in bLang
How to configure bLang so each language in an Evolution CMS project uses its own domain instead of only a path prefix.
Updating site_content_closure When Moving Resources in the Evolution CMS Tree
How to keep site_content_closure in sync when resources are dragged to a new parent in the Evolution CMS manager tree.