Skip to content

kalenjordan/clean-cms

Repository files navigation

Clean CMS

This is an early, experimental release.

Allow content admins to create rich pages without needing to touch HTML.

content management

Installation

Install using modman:

modman clone git@github.com:kalenjordan/clean-cms.git

There's a markdown library that's required for the markdown content block:

https://github.com/michelf/php-markdown

There are a bunch of javascript dependencies that I'm currently pulling in separately from this module. Need to work out how best to handle those dependencies. If you're interested in using this, just hit me up and let's figure it out.

How it works

When editing a CMS Page, there will be a tab called Content Blocks. In there, the content admin can add / edit / delete fieldsets to the page. When adding a fieldset, they can select which type they want. They'll be able to select from types like:

  • Simple paragraph
  • Image with title and paragraph
  • Email signup
  • Video
  • Full Width Image
  • etc.

Each of those content block types will have it's own selection of simple field types - text fields, text areas, image uploads, etc.

They can fill out the content and save it.

This will generate HTML. You will need to write your own CSS to style the pages.

To Do

  • Dropdowns for commonly used CSS class modifiers. Right now there's just a single text field for adding css classes to blocks, which can be useful for adding padding, left align vs. center align, etc. It would probably be good to move those to dropdowns instead.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published