innoweb / silverstripe-page-icons
A simple library of SVG page type icons for enhancing your SilverStripe CMS interface.
Installs: 3 914
Dependents: 0
Suggesters: 1
Security: 0
Stars: 3
Watchers: 6
Forks: 1
Open Issues: 0
Type:silverstripe-vendormodule
Requires
- silverstripe/cms: ^5.0
- silverstripe/vendor-plugin: ^2.0
Replaces
- fromholdio/silverstripe-page-icons: 3.4.0
README
Overview
A simple library of SVG page type icons for enhancing your SilverStripe CMS interface.
Requirements
- SilverStripe CMS 5.x
Note: this version is compatible with SilverStripe 5. For SilverStripe 4, please see the 2 release line.
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:
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:
icon: 'innoweb/silverstripe-page-icons: client/icons/form.svg'
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