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->config('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->config('scaffold.site_title_image', 'site_image.png');

// Use an exact url
$action->config('scaffold.site_title_image', 'http://www.google.com/images/logos/google_logo_41.png');
  v: latest
Versions
latest
stable
docs
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds
Downloads
On GitHub
View
Edit

Free document hosting provided by Read the Docs.