toastnz/silverstripe-cms-theme
最新稳定版本:0.3.1
Composer 安装命令:
composer require toastnz/silverstripe-cms-theme
包简介
CMS Theme Module
关键字:
README 文档
README
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'
统计信息
- 总下载量: 141
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-09-11

