Blog Sections Open

Auto-Updating Chunk and TV References When Names Change

A practical plugin pattern for keeping chunk and TV references in sync when editors rename shared building blocks in Evolution CMS.

Renaming a chunk or TV is one of those changes that looks harmless until templates, resources, and other snippets start pointing at the old name. The original plugin idea was simple and useful: when a chunk or TV is renamed, update its references automatically across the main storage tables.

This is exactly the kind of small automation that saves teams from brittle manual cleanup.

Why this helps

  • it reduces broken references after administrative renames,
  • it keeps templates and content aligned automatically,
  • it makes refactoring shared building blocks less risky.

The important caveat is scope. A rename-sync plugin should be explicit about what it updates and should be tested carefully, because broad search-and-replace behavior can be dangerous if naming conventions are inconsistent.

Still, for disciplined projects, this kind of helper is a very practical ecosystem improvement: it turns a fragile rename into a controlled refactor.

Source: Evolution CMS on GitHub.

Newer post

CssJs: A Lighter CSS and JS Pipeline for Evolution CMS Projects

Why some teams prefer a smaller CSS/JS minification helper instead of a heavier all-in-one stack, and where that trade-off actually makes sense.

Older post

Working with Git on Evolution CMS Projects Without Breaking Live Sites

Why Git becomes essential on serious MODX and Evolution work, and how to introduce it without fighting the CMS lifecycle.