Download the PHP package dynamic/silverstripe-elemental-baseobject without Composer
On this page you can find all versions of the php package dynamic/silverstripe-elemental-baseobject. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dynamic/silverstripe-elemental-baseobject
More information about dynamic/silverstripe-elemental-baseobject
Files in dynamic/silverstripe-elemental-baseobject
Package silverstripe-elemental-baseobject
Short Description A simple base DataObject to use with Elemental Content Blocks
License BSD-3-Clause
Informations about the package silverstripe-elemental-baseobject
Silverstripe Elemental Baseobject
a simple base dataobject to use with elements
Requirements
- dnadesign/silverstripe-elemental: ^6.0
- silvershop/silverstripe-hasonefield: ^5.0
- silverstripe/linkfield: ^5.0
- unclecheese/display-logic: ^4.0
Installation
composer require dynamic/silverstripe-elemental-baseobject
Usage
BaseElementObject is a versioned DataObject that provides a reusable foundation for managing collections of related content within Elemental blocks. It's designed to be extended or used as a has_many relationship in custom Element classes.
Features
The base object includes:
- Title - Text field with optional display toggle (using
TextCheckboxGroupField) - Content - HTML text area for rich content
- Image - Image upload with automatic organization into
Uploads/Elements/Objects - Link - Configurable call-to-action using SilverStripe LinkField
- Versioning - Full draft/publish workflow with GridField extensions
- Permissions - Inherits permissions from the current page context
Common Usage Pattern
Typically used as a has_many relationship in Elemental blocks:
Extending BaseElementObject
For custom functionality, extend the class:
Used By
This module serves as a dependency for several Dynamic Elemental modules:
- Accordion - Collapsible content panels
- Features - Icon-based feature highlights
- Gallery - Image galleries with captions
- Promos - Promotional content blocks
- Sponsors - Sponsor/partner logos
- Timeline - Event timelines
Getting more elements
See Elemental modules by Dynamic
Configuration
See SilverStripe Elemental Configuration
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.
License
See License
All versions of silverstripe-elemental-baseobject with dependencies
silvershop/silverstripe-hasonefield Version ^5.0
silverstripe/linkfield Version ^5.0
unclecheese/display-logic Version ^4.0