1.0.17 • Published 9 years ago

@offmadisonave/oma-keystone-cms v1.0.17

Weekly downloads
1
License
MIT
Repository
-
Last release
9 years ago

OMA Keystone CMS

Our Keystone CMS "plug-in" provides very basic contextual editing features such as object model property editing and a simple templated page system. It is dependent on use of Keystone using the Swig templating engine. The contextual front end UI is currently written in AngularJS. It is a work in progress that is not intended for public use, but is nonetheless published as a public package for our own purposes. Use at your own risk.

Installation Instructions

  • In your Keystone project:
npm install @offmadisonave/oma-keystone-cms --save
  • Add the following code to the top of the Keystone project /routes/index.js module body
require('@offmadisonave/oma-keystone-cms')(app, {
	indexIsPage: true // If you intend to use the pages feature at the default route
});
  • Add the following just before the closing body tag of all of your Keystone project layout SWIG files...
{{CMS.admin()}}
  • To make a model object editable...
{{CMS.objectHtml('KeystoneListName', listObject, 'editablePropertyName')}}

If you intend to use the pages feature:

{{CMS.pageHtml('content_block_name')}}

Creating a page is as simple as navigating to /page/{the_slug_you_want} and clicking the Create Page in the CMS footer toolbar.

1.0.17

9 years ago

1.0.16

9 years ago

1.0.15

9 years ago

1.0.14

9 years ago

1.0.13

9 years ago

1.0.12

9 years ago

1.0.11

9 years ago

1.0.10

9 years ago

1.0.9

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago