Skip to content

wedevelopnl/silverstripe-grid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

962 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

SilverStripe Grid

A grid-based content block system for SilverStripe 6 CMS — structured Section → Row → Column layouts with configurable CSS framework adapters (Bootstrap, Tailwind, Bulma).

Requirements

  • PHP ^8.3
  • silverstripe/framework ^6.0, silverstripe/cms ^6.0, silverstripe/admin ^3.0, silverstripe/versioned ^3.0, silverstripe/vendor-plugin ^3.0
  • unclecheese/display-logic ^4.0, wedevelopnl/silverstripe-media-field ^6.0
  • Node >= 24 (only needed if you build the frontend yourself)

Optional:

  • silverstripe/reports — enables the Grid Elements report in CMS Reports
  • tractorcow/silverstripe-fluent — multi-locale support with isolated grid records per locale (see Fluent integration)

Conflict: this module conflicts with dnadesign/silverstripe-elemental and replaces its functionality.

Installation

composer require wedevelopnl/silverstripe-grid

Then run dev/build?flush=1 to pick up the new database schema and configuration.

Usage

Apply GridPageExtension to the page types that should have grid editing:

# app/_config/grid.yml
Page:
  extensions:
    Grid: WeDevelop\Grid\Extensions\GridPageExtension

Render the grid in the page template:

<% loop $Sections %>$Me<% end_loop %>

That's a working integration. See Template integration for the per-page editor toggle, default-behavior configuration, theme overrides, and the holder chain.

Documentation

Usage guides

Integration guides

Architecture

Contributing

Changelog

See CHANGELOG.md for release history.

License

See LICENSE.

Maintainers

WeDevelopdevelopment@wedevelop.nl

About

Create grid based pages in Silverstripe CMS using content blocks

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors