Blog Sections Open

Showing menutitle Instead of pagetitle in the Manager Tree

A small manager tweak for projects where long page titles make the resource tree hard to scan and a shorter menu title is easier to work with.

Some Evolution CMS projects use long pagetitle values for frontend SEO or content accuracy, but editors still need a short, scannable label inside the manager tree. That is where menutitle becomes more useful than pagetitle.

The original note came from a very simple practical need: when titles are long, the resource tree becomes noisy. Showing menutitle whenever it is filled makes the manager easier to navigate.

The idea

Instead of always rendering pagetitle in the tree, update the manager output so it falls back in this order:

  1. menutitle when it is set
  2. pagetitle when no menu title exists

When to use this

  • large document trees with long editorial titles
  • catalogs or section pages with repetitive naming
  • projects where the frontend title and admin label serve different purposes

This is a small change, but it improves everyday manager ergonomics. It is a good example of how many Evolution CMS customizations are less about new features and more about removing friction for editors.

Newer post

Fixing DirectResize 0.8 for PHP 5.3

A compatibility patch for older DirectResize installations that relied on ereg-style functions removed from modern PHP runtimes.

Older post

Applying Template Inheritance Rules with a Custom Manager Plugin

A manager-side plugin pattern for assigning the right template automatically when editors create resources and folders in Evolution CMS.