User Tools

Site Tools

Back Office Display Decoration

This page expects knowledge of the basic Back Office Display Engine.

All back office pages come with kind of a decoration. There's always a page title, there are often toolbar buttons, such stuff.

Adding a Title

Controller page title.

Controller page title.

This isn't needed for module configuration pages, these always display Configure as the title the module name in a subtitle.

The picture to the right shows such a title. The smaller text above the title shows breadcrumbs, which get calculated automatically and depend on where the controller was inserted into the menu structure.

To get this title onto the page, subclass initContent() like this:

public function initContent()
{
    $this->page_header_toolbar_title = $this->l('My Controller');
 
    parent::initContent();
}

Having a subtitle there isn't supported.

back_office_display_decoration.txt ยท Last modified: 2018/08/20 19:59 by Traumflug