innoweb/silverstripe-page-icons
最新稳定版本:4.0.0
Composer 安装命令:
composer require innoweb/silverstripe-page-icons
包简介
A simple library of SVG page type icons for enhancing your SilverStripe CMS interface.
关键字:
README 文档
README
Overview
A simple library of SVG page type icons for enhancing your SilverStripe CMS interface.
Requirements
- Silverstripe CMS 6
Installation
Install the module using composer:
composer require innoweb/silverstripe-page-icons dev-master
Then run dev/build.
Configuration
You can reference the page type icons in your configuration like this:
Your\Namespace\ExampleLocationPage:
cms_icon: 'innoweb/silverstripe-page-icons: client/icons/location.svg'
For page types that use the Silverstripe built-in icon classes, you need to also disable the icon class:
SilverStripe\UserForms\Model\UserDefinedForm:
cms_icon: 'innoweb/silverstripe-page-icons: client/icons/form.svg'
cms_icon_class: false
The module by default replaces the icons for the default page types SiteTree/Page, ErrorPage, VirtualPage and RedirectorPage. It also replaces the page types for the following modules:
Available icons
License
BSD 3-Clause License, see License
Thanks heroicons.com for the beautiful icons.
统计信息
- 总下载量: 5.7k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 1
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2020-07-20