Skip to content

DaveSauce/meteor-sauceCMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

davesauce:saucecms

Super simple CMS package using contentEditable See a demo at http://sauceCMS.meteor.com.

This package was by created by @dave_bascom, @devanbeitel, and @jesseflorig for the Meteor Space Camp Hackathon.

Installation

meteor add davesauce:sauceCMS

Usage

Then wherever you want easily editable text, install:

{{> sauceCMS elementName="uniqueElementName"}}

Text will appear inside that tag that can be edited by users with superAdmin status. There is no admin or CMS panel to fuss with - just click and start typing. The text will maintain the surrounding style, so editors cannot alter the original design.

uniqueElementName must be unique for each sauceCMS tag you install. Alternatively, you could repeat the same elementName across multiple elements if you want all of them to be updated when one is edited.

Description

When you install sauceCMS you will need to setup some settings in your settings.json file. Below is an example:

{
  "public": {
    "sauceCMS": {
      "layoutName": "sampleLayout",
      "superAdmin": "superAdmin@example.com"
    }
  }
}

If you are not using a layout named layout then you will need to specify your layout name.

Also be sure to add a superAdmin so that individual can access rootUrl/saucecms-admin to assign other superAdmins and admins to edit content.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors