PHPackages                             nobrainerweb/silverstripe-content-blocks - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. nobrainerweb/silverstripe-content-blocks

ActiveSilverstripe-module[Templating &amp; Views](/categories/templating)

nobrainerweb/silverstripe-content-blocks
========================================

Split your page content into manageable blocks/sections of content, each with their own template

2.3(8y ago)281.5k15[9 issues](https://github.com/NobrainerWeb/Silverstripe-Content-Blocks/issues)[2 PRs](https://github.com/NobrainerWeb/Silverstripe-Content-Blocks/pulls)BSD-3-ClausePHP

Since Jan 10Pushed 8y ago9 watchersCompare

[ Source](https://github.com/NobrainerWeb/Silverstripe-Content-Blocks)[ Packagist](https://packagist.org/packages/nobrainerweb/silverstripe-content-blocks)[ Docs](https://github.com/NobrainerWeb/Silverstripe-Content-Blocks)[ RSS](/packages/nobrainerweb-silverstripe-content-blocks/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (3)Versions (31)Used By (0)

Silverstripe-Content-Blocks (previous: Silverstripe-Section-Module)
===================================================================

[](#silverstripe-content-blocks-previous-silverstripe-section-module)

Split your page content into manageable sections/blocks of content, each with their own template.

Create compelling and unique pages
----------------------------------

[](#create-compelling-and-unique-pages)

This module gives you the option to create your content, in little blocks, instead of just one big content area.

When the module is installed, a "Blocks" tab will be added to all pages. The blocks tab holds a GridField, that allows you to create as many blocks of content as you would like. Each block of content can have it's own template assigned. The module commes with a set of standard templates.

You can easily create your own block templates and even your own block DataObjects with unique fields. This makes it very easy for content editors to create pages with lots of variation, without having to know HTML, fiddle around with tables and so on. Create your own block templates and/or extend the Block DataObject to create:

- Image lists (simple gallery)
- Employee listings
- Product listings
- and much more

### Version compatibility

[](#version-compatibility)

Tested on Silverstripe 3.1.2

### Installation instructions

[](#installation-instructions)

- Put this module under the root folder of site, named content-blocks.
- Add the following code to your themes/your\_design/templates/Layout/Page.ss where you want the content blocks to be rendered:

```
$Me

```

Or you can ask for a single Block to render via it's ID (replace 5 with your ID):

```
$OneBlock(5)

```

- install the following dependent module(s)
    - GridField Extensions
    - Better buttons for GridField by unclecheese

Or use Composer:

```
"nobrainerweb/silverstripe-content-blocks": "dev-master"

```

- run sitename.com/dev/build?flush=all
- The module will copy content-blocks/templates/BlockTemplates to themes/your\_design/templates/BlockTemplates, should this fail, please copy the files manually.
- The module will copy content-blocks/css/sections.css to themes/your\_design/block.css, should this fail, please copy the file manually.

### Usage and customization:

[](#usage-and-customization)

- add your own templates to themes/your\_design/templates/BLcokTemplates, they need to have the extension .ss and delete any unwanted templates (there is full example set of fixed width and fluid width templates included in the module)
- allways run dev/build?flush=1 after adding templates
- remember to ?flush=1 after modification of templates

### Screenshots

[](#screenshots)

[![Overview](docs/images/overview.png)](docs/images/overview.png)Overview in page editing

[![modeladmin](docs/images/modeladmin.png)](docs/images/modeladmin.png)View all blocks across pages in a ModelAdmin

[![](docs/images/detail_main.png)](docs/images/detail_main.png)[![](docs/images/detail_media.png)](docs/images/detail_media.png)[![](docs/images/detail_template.png)](docs/images/detail_template.png)Detail views

### TODO:

[](#todo)

- Option to add more content placeholders without coding - site config?
- Handle search
- Versioning

### IDEAS

[](#ideas)

- Save available templates in database (enum field) - create on dev/build or use template manifest
- Build in template generator
- Form blocks
- Better previews (C/P from design)
- Perhaps add foundation templates as a suggested composer requirement (and other CSS frameworks)

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance14

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 91.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~42 days

Recently: every ~66 days

Total

26

Last Release

3186d ago

Major Versions

1.0.11 → 2.0.02016-09-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/def5e7646226b2caed7a8b33f1ec432d631b4eec51ae0d6947fc317ec4e82380?d=identicon)[Nobrainer Web](/maintainers/Nobrainer%20Web)

---

Top Contributors

[![thomasbnielsen](https://avatars.githubusercontent.com/u/2331955?v=4)](https://github.com/thomasbnielsen "thomasbnielsen (159 commits)")[![sanderha](https://avatars.githubusercontent.com/u/6941043?v=4)](https://github.com/sanderha "sanderha (13 commits)")[![chillu](https://avatars.githubusercontent.com/u/111025?v=4)](https://github.com/chillu "chillu (1 commits)")[![dhensby](https://avatars.githubusercontent.com/u/563596?v=4)](https://github.com/dhensby "dhensby (1 commits)")

---

Tags

silverstripecontentblockssectionsections

### Embed Badge

![Health badge](/badges/nobrainerweb-silverstripe-content-blocks/health.svg)

```
[![Health](https://phpackages.com/badges/nobrainerweb-silverstripe-content-blocks/health.svg)](https://phpackages.com/packages/nobrainerweb-silverstripe-content-blocks)
```

###  Alternatives

[silverstripe/login-forms

A collection of templates for the CMS login screens

191.4M30](/packages/silverstripe-login-forms)[sunnysideup/ecommerce

Silverstripe E-commerce Application

247.3k84](/packages/sunnysideup-ecommerce)[bummzack/page-blocks

Modular content-blocks for SilverStripe pages

135.3k](/packages/bummzack-page-blocks)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
