innoweb/silverstripe-page-icons

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

Installs: 4 081

Dependents: 0

Suggesters: 1

Security: 0

Stars: 3

Watchers: 6

Forks: 1

Open Issues: 0

Type:silverstripe-vendormodule

3.6.0 2024-11-19 03:29 UTC

README

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

comment

conversation

dashboard

development

documents

download

education

elemental

email

emails

error

faq

folder

form

gallery

gift

globe

hashtag

heart

home

info

invoice

landing

legal

line-chart

listing

location

locations

map

megaphone

microscope

music

news

newsletter

order

overview

package

paintbrush

page

pages

paperclip

parliament

photo

play

puzzle

recipe

redirect

rocket

science

search

service

sitemap

stack

star

statistics

sustainability

swatch

tag

team

teamwork

ticket

tools

user

users

video

virtual-reality

virtual

vote

website

License

BSD 3-Clause License, see License

Thanks heroicons.com for the beautiful icons.