Homepage
Main navigation
Main content
Additional information
October Tricks
Login / Sign up
Quality Guidelines
About
GitHub
Propose new content
October CMS resources and help articles
Simple and to the point. Optimized by the community.
×
Login / Sign up
Quality Guidelines
About
GitHub
Propose new content
Edit trick
Changes will be published after manual review
Title
Give your trick a describing title. Do
not
start with «How to...».
Your trick
Keep it short and concise! Markdown is supported.
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. 1. Create a new file in your app's config directory: `config/brand.php` 2. 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', ]; ``` 3. 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](https://github.com/luketowers) for pointing this functionality out to me.
References
Add additional online resources to your trick
×
Name
URL
+ Add reference
Topics
If your trick fits more than one topic select multiple. Select at least one.
Backend
Plugin Development
CMS
Twig
Themes
Deployment
Tags
You can use existing tags or create new ones. Add at least one.
Submit for review
Cancel
We use cookies to measure the performance of this website. Do you want to accept these cookies?
Accept
Decline