PHPackages                             christopherbolt/silverstripe-contentmodules - 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. [Framework](/categories/framework)
4. /
5. christopherbolt/silverstripe-contentmodules

ActiveSilverstripe-vendormodule[Framework](/categories/framework)

christopherbolt/silverstripe-contentmodules
===========================================

A framework for flexible content modules.

v1.0.2(7y ago)119311PHPPHP &gt;=5.3.2

Since Mar 1Pushed 7y ago1 watchersCompare

[ Source](https://github.com/christopherbolt/silverstripe-contentmodules)[ Packagist](https://packagist.org/packages/christopherbolt/silverstripe-contentmodules)[ Docs](https://github.com/christopherbolt/silverstripe-contentmodules)[ RSS](/packages/christopherbolt-silverstripe-contentmodules/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (4)Versions (5)Used By (1)

ContentModules
==============

[](#contentmodules)

A framework for adding modular content to a page. All kinds of different content types can be added and re-ordered on a page. This is similar to the WidgetArea module but focused on content. Content Modules will be published and unpublished when the page is published/unpublished, ie. changes to content modules will only be published when the page is published which makes this module fully compatible with Workflow. CMS editors can change the content type of a module in a similar why to how you can change the the type of a page in the CMS.

Requirements
------------

[](#requirements)

SS 4.x see 1.0 branch for SS 3.x

Creating Modules
----------------

[](#creating-modules)

No content modules are included, you must create your own.

You must create at least one ContentModule type.

Here is how you might code a basic text content module:

mysite/code/modules/TextModule.php:

```
