2017 © Pedro Peláez
 

silverstripe-module silverstripe-cms-theme

CMS Theme Module

image

toastnz/silverstripe-cms-theme

CMS Theme Module

  • Sunday, November 22, 2015
  • by permanentinc
  • Repository
  • 4 Watchers
  • 1 Stars
  • 122 Installations
  • CSS
  • 2 Dependents
  • 0 Suggesters
  • 13 Forks
  • 2 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

Silverstripe CMS Branding

Just a nice little UI change for the cms., (*1)

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., (*2)

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:, (*3)

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:, (*4)

LeftAndMain:
  cms_menu_color: '#fff'
  cms_menu_background: '#1b354c'
  cms_menu_active_text_color: '#fff'
  cms_menu_active_background_color: '#0d1a25'

Example

demo-image, (*5)

Grouping CMS Menus

CMS Branding will work with Grouped CMS Menu out of the box, (*6)

Example

demo-image-grouped, (*7)

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:, (*8)

private static $menu_icon_class = 'fa fa-pencil';

Alternatively you can set this using a YML config. e.g, (*9)

CMSPagesController:
  menu_icon_class: 'fa fa-sitemap'

The Versions

22/11 2015

dev-master

9999999-dev

CMS Theme Module

  Sources   Download

BSD-3-Clause

The Requires

 

theme silverstripe

12/08 2015

0.3.1

0.3.1.0

CMS Theme

  Sources   Download

BSD-3-Clause

The Requires

 

theme silverstripe

11/08 2015

0.3.0

0.3.0.0

CMS Theme

  Sources   Download

BSD-3-Clause

The Requires

 

theme silverstripe

07/08 2015

0.2.1

0.2.1.0

CMS Theme

  Sources   Download

BSD-3-Clause

The Requires

 

theme silverstripe

03/08 2015

0.2.0

0.2.0.0

CMS Theme

  Sources   Download

BSD-3-Clause

The Requires

 

theme silverstripe

14/07 2015

0.1.1

0.1.1.0

CMS Theme

  Sources   Download

BSD-3-Clause

The Requires

 

theme silverstripe

14/07 2015

0.1.0

0.1.0.0

CMS Theme

  Sources   Download

BSD-3-Clause

The Requires

 

theme silverstripe