innoweb/silverstripe-page-icons

A simple library of SVG page type icons for enhancing your SilverStripe CMS interface.

Installs: 3 655

Dependents: 0

Suggesters: 1

Security: 0

Stars: 3

Watchers: 6

Forks: 1

Open Issues: 0

Type:silverstripe-vendormodule

3.4.0 2024-04-01 22:56 UTC

This package is auto-updated.

Last update: 2024-07-01 00:14:36 UTC


README

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

heart

home

info

invoice

landing

legal

listing

location

locations

map

megaphone

microscope

music

news

newsletter

order

overview

paintbrush

page

pages

paperclip

parliament

photo

play

puzzle

recipe

redirect

science

search

service

sitemap

stack

star

statistics

sustainability

swatch

team

teamwork

ticket

tools

user

users

video

virtual-reality

virtual

vote

website

License

BSD 3-Clause License, see License