Site Title Options

Every page has what’s called the site title on the left side of the menu bar. If you want, you can customize it.

Site Title

You can use the scaffold.site_title config variable to modify the title. If not set, it will fallback to the following alternative:

  • Configure::read('CrudView.siteTitle')

$action = $this->Crud->action();
$action->setConfig('scaffold.site_title', 'My Admin Site');

Site Title Image

You can use the scaffold.site_title_image config variable to modify the title link. If set, it replaces scaffold.site_title.

$action = $this->Crud->action();
// Use an image included in your codebase
$action->setConfig('scaffold.site_title_image', 'site_image.png');

// Use an exact url
$action->setConfig('scaffold.site_title_image', 'http://www.google.com/images/logos/google_logo_41.png');