Skip to content

Latest commit

 

History

History
196 lines (106 loc) · 8.86 KB

README.md

File metadata and controls

196 lines (106 loc) · 8.86 KB

Silverstripe Page Icons

Version License

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

account

application

appointment

archive

assembly

award

bacteria

bands

blog

book

briefcase

cart

checkout

chemistry

clock

conversation

dashboard

development

documents

download

education

elemental

email

emails

error

faq

folder

form

gallery

gift

globe

home

info

invoice

landing

legal

listing

location

locations

map

megaphone

microscope

music

news

newsletter

order

overview

page

pages

paperclip

parliament

photo

recipe

redirect

science

search

service

sitemap

stack

statistics

sustainability

team

teamwork

ticket

tools

user

users

video

virtual-reality

virtual

vote

website

License

BSD 3-Clause License, see License