Silverstripe CMS Branding
Just a nice little UI change for the cms.
The theme supports an UploadField in the Settings > Settings Tab > CMS Tab for a logo to be displayed in the left-hand menu of the CMS.
Configuration
You can either choose to upload a CMS logo through the Site Settings section of the CMS, or you can define it through a YML configuration like the below:
SiteConfig:
cms_logo: 'mysite/images/cms_logo.png'
You can set the theme colour of the left menu by defining it through a YML configuration like the below:
LeftAndMain:
cms_menu_color: '#fff'
cms_menu_background: '#1b354c'
cms_menu_active_text_color: '#fff'
cms_menu_active_background_color: '#0d1a25'
Example
Grouping CMS Menus
CMS Branding will work with Grouped CMS Menu out of the box
Example
Overriding/Adding Icons
The icons in this cms theme use Font-Awesome, to override these icons simply add the class that represents the icon you wish to display in your ModelAdmin extension. e.g:
private static $menu_icon_class = 'fa fa-pencil';
Alternatively you can set this using a YML config. e.g
CMSPagesController:
menu_icon_class: 'fa fa-sitemap'