dynamic / silverstripe-elemental-call-to-action
A call to action block for the Elemental block system
Installs: 4 298
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 2
Open Issues: 3
Type:silverstripe-vendormodule
pkg:composer/dynamic/silverstripe-elemental-call-to-action
Requires
- php: ^8.3
- dnadesign/silverstripe-elemental: ^6
- silverstripe/linkfield: ^5
Requires (Dev)
This package is auto-updated.
Last update: 2025-11-19 02:57:15 UTC
README
A call to action block for the Elemental block system
Requirements
- PHP: ^8.3
- SilverStripe: ^6
- dnadesign/silverstripe-elemental: ^6
- silverstripe/linkfield: ^5
Installation
composer require dynamic/silverstripe-elemental-call-to-action
License
See License
Features
- Call to Action Block: Display prominent CTAs with title, description, and customizable link
- LinkField Integration: Flexible linking to internal pages, external URLs, files, emails, and phone numbers
- Bootstrap 5 Templates: Pre-styled templates based on Bootstrap 5 alert components
- Elemental Integration: Seamlessly integrates with SilverStripe Elemental content blocks
- Content Inheritance: Extends ElementContent for rich text editing capabilities
Usage
A block to display a call to action - Title, Description, and Link. The UX is meant to mimic an alert in Bootstrap.
Template Notes
The default templates are based off Bootstrap 5 classes/styling
Getting more elements
See Elemental modules by Dynamic
Configuration
See SilverStripe Elemental Configuration
Upgrading from version 2
SilverStripe Elemental Call to Action v3.0 is compatible with SilverStripe 6. Key changes:
- Updated to SilverStripe CMS 6
- Requires PHP 8.3 or higher
- Updated
dnadesign/silverstripe-elementalfrom ^5 to ^6 - Updated
silverstripe/linkfieldfrom ^4 to ^5
See the SilverStripe 6 Upgrade Guide for more details.
Maintainers
Bugtracker
Bugs are tracked in the issues section of this repository. Before submitting an issue please read over existing issues to ensure yours is unique.
If the issue does look like a new bug:
- Create a new issue
- Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots and screencasts can help here.
- Describe your environment as detailed as possible: SilverStripe version, Browser, PHP version, Operating System, any installed SilverStripe modules.
Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker.
Development and contribution
If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.