Deploy with backend brand settings
9
This trick will allow you to deploy your site with backend brand settings already configured (and its pretty easy too)!
When deploying your site, the backend brand will be set to October defaults which requires a login to the backend to update things like the logo, tag line and colors.
- Create a new file in your app's config directory:
config/brand.php
- Paste the block of code below into your
brand.php
file:
<?php
return [
/*
|--------------------------------------------------------------------------
| Specify the default backend brand settings
|--------------------------------------------------------------------------
|
| These parameter values can be overridden by the backend Brand settings
|
*/
'logoPath' => '$/author/plugin/assets/images/logo.png',
'faviconPath' => '$/author/plugin/assets/images/favicon.ico',
'appName' => 'APP NAME',
'tagline' => 'APP TAGLINE',
'primaryColor' => "#b4b4b4",
'secondaryColor' => "#ffcc00",
'accentColor' => "#B4B4B4",
'menuMode' => 'inline', // options: inline, inline_no_icons, tile, collapse
'customLessPath' => '$/author/plugin/assets/styles/backend.less',
];
- Update the values relative to your application. Note the image paths must be relative to your filesystem and not a URL.
I want to thank @LukeTowers for pointing this functionality out to me.
Just what I was looking for! Thank you! Although I think the backend uses .png for the favicon?
does not seem to be working