toastnz / toast-cms-helpers
Silverstripe CMS helpers
Installs: 999
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 5
Forks: 1
Open Issues: 0
Type:silverstripe-module
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: 2024-10-26 20:21:10 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'