Download the PHP package dynamic/silverstripe-elemental-templates without Composer
On this page you can find all versions of the php package dynamic/silverstripe-elemental-templates. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dynamic/silverstripe-elemental-templates
More information about dynamic/silverstripe-elemental-templates
Files in dynamic/silverstripe-elemental-templates
Package silverstripe-elemental-templates
Short Description Elemental Templates
License BSD-3-Clause
Informations about the package silverstripe-elemental-templates
Silverstripe Elemental Layouts
A module allowing CMS users to define layouts, known as "skeletons", that provide a predefined set of elements when a page is created.
This module relies on native $cascade_duplicates
settings to ensure sample content, files, images, etc. are copied to the page as a starter. The feature allowing pre-populated content and objects is configurable, see below.
Requirements
- Silverstripe CMS ^5
Installation
Ensure you setup a repository reference in your composer.json
file:
composer require dynamic/silverstripe-elemental-templates
Populating Template Elements
You can pre-populate elements added to a template via config. This currently supports database fields via the following mapping:
A config like the above is not inherintly included in the module as it may not be a desirable effect/the type of predefined content may be unique for you project.
Roadmap
We understand the current methodology does not allow for configuring population definitions outside of database fields. We're working on adding this feature as it is clearly something that is beneficial.
License
See License
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.
All versions of silverstripe-elemental-templates with dependencies
dnadesign/silverstripe-elemental Version ^5.0
silverstripe/vendor-plugin Version ^2