An open API service indexing awesome lists of open source software.

https://github.com/dynamic/dynamic-blocks


https://github.com/dynamic/dynamic-blocks

Last synced: 7 months ago
JSON representation

Awesome Lists containing this project

README

        

# dynamic-blocks
[![Build Status](https://travis-ci.org/dynamic/dynamic-blocks.svg?branch=master)](https://travis-ci.org/dynamic/dynamic-blocks)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/dynamic/dynamic-blocks/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/dynamic/dynamic-blocks/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/dynamic/dynamic-blocks/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/dynamic/dynamic-blocks/?branch=master)
[![codecov](https://codecov.io/gh/dynamic/dynamic-blocks/branch/master/graph/badge.svg)](https://codecov.io/gh/dynamic/dynamic-blocks)

A collection of blocks for the SilverStripe Blocks module:

* Accordion
* Call To Action
* Child Pages
* Customer Service (map and contact info)
* Email Newsletter Signup
* Embedded Content
* Form (requires silverstripe/userforms)
* Image
* Page Sections
* Photo Gallery
* Promos
* Recent Blog Posts (requires silverstripe/blog)
* Slideshow

## Requirements

- SilverStripe ^4.0

## Installation

`composer require dynamic/dynamic-blocks`

## Example usage

Dynamic Blocks uses `micschk/silverstripe-groupable-gridfield` to enhance the CMS interface.

![Dynamic Blocks CMS](images/dynamic-blocks.png)

All blocks are available in the CMS by default. To exclude certain blocks in a project, do the following in your `config.yml`:

```
BlockManager:
disabled_blocks:
- AccordionBlock
- ChildPagesBlock
```