toastnz / toast-cms-helpers
Silverstripe CMS helpers
Package info
github.com/toastnz/toast-cms-helpers
Type:silverstripe-module
pkg:composer/toastnz/toast-cms-helpers
0.1.2
2017-01-16 01:42 UTC
Requires
- composer/installers: *
- silverstripe/cms: ~3.1
- silverstripe/framework: ~3.1
Requires (Dev)
- phpunit/phpunit: ~4.8
This package is not auto-updated.
Last update: 2026-03-01 03:53:32 UTC
README
Silverstripe CMS Helpers
Small helpers, fields, and requirements to assist users with navigating and using the CMS.
Installation
composer require toastnz/toast-cms-helpers
Features
Reference Field
The Reference Field displays an image inside a styled block, with the purpose of showing the user where content will be displayed on the frontend.
Usage
$referenceField = ReferenceField::create( 'FieldName', // Can be blank 'Heading / Label', 'Hint / ToolTip', 'example.png' // Image / screenshot filename );
Configuration
ReferenceField: base_image_path: 'mysite/images/reference' border_color: '#0073aa'