Icon support for Silverstripe taxonomy terms
Upload an icon, assign a CSS class name or filename to a taxonomy term
Site configuration by your developer/site owner can be done as follows:
--- Name: nswdpc-taxonomy-icon --- SilverStripe\Taxonomy\TaxonomyTerm: is_upload: true is_css: true is_filename: true filename_path: 'relative/path/to/icons'
The order of preference is upload, css, filename e.g. if is_upload and is_filename are true, only the upload field will be presented.
In the administration screen a CMS editor can:
- Upload an icon OR
- Enter a CSS class name OR
- Enter a filename for an icon, which will be relative to the configured icon file path
The recommended way of installing this module is via composer
composer require nswdpc/silverstripe-taxonomy-icons
Further English language documentation should be included in the file above or linked to from that file
Add additional maintainers here and/or include authors in composer
We welcome bug reports, pull requests and feature requests on the Github Issue tracker for this project.
Please review the code of conduct prior to opening a new issue.
If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.
Please review the code of conduct prior to completing a pull request.