Download the PHP package restruct/silverstripe-login-branding without Composer
On this page you can find all versions of the php package restruct/silverstripe-login-branding. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download restruct/silverstripe-login-branding
More information about restruct/silverstripe-login-branding
Files in restruct/silverstripe-login-branding
Package silverstripe-login-branding
Short Description Admin login form (de-)branding module
License MIT
Informations about the package silverstripe-login-branding
Silverstripe Login-form (de)branding
Reduces the Silverstripe branding of the login forms module and makes it easily configurable:
The branding above- and credits below the form are configurable via Yaml, options:
Custom icon/logo/branding
Place a LoginIcon.ss template somewhere in [app]/templates/[Includes/] or themes/[client-theme]/templates/[Includes/], eg:
And configure:
(Legacy:) Replace header using custom AppBrand.ss template
Configure extension to use AppBrand.ss template instead:
Add an AppBrand.ss template file somewhere, eg [app]/templates/[Includes/] or themes/[client-theme]/templates/[Includes/]:
And set the theme as highest prio on SilverStripe\LoginForms\EnablerExtension (before #admin-branding):
Optionally set Restruct\SilverStripe\AdminBranding\SecurityBrandingExtension.include_icon to false to remove the icon.
Shield-lock + bicycle icons kindly provided by Bootstrap Icons.
SiteConfig Title Override
By default, the admin panel shows SiteConfig.Title (editable under Settings) in the left nav and browser tab. If you set LeftAndMain.application_name in config, it gets ignored when SiteConfig is installed.
This module can make application_name the authoritative source, overriding SiteConfig.Title in-memory and optionally removing the now-redundant fields from Settings.
application_name_clear_fields options
| Value | Behavior |
|---|---|
false |
Override title but leave Title/Tagline fields in Settings |
true (default) |
Remove Title + Tagline fields from Settings |
'tab' |
Remove fields + remove the empty Main tab (if other tabs remain) |