SimpleMC
Simple Managed Content
Introduction
SimpleMC is meant to provide an easy way for content editors
to edit blocks of content. It is meant for smaller sites, where clients
just want to get in, edit some content, and get out.
Pre-flight Check
Your cache directory is writable.
Your log directory is writable.
The necessary htmlpurifier directory is writable.
Your database configuration file is present.
SimpleMC is able to connect to the database.
Requirements
- PHP 5.0.5+
- MySQL 5.0+
Simple MC Sample File Setup
- Download and unzip SimpleMC to your desired location.
- At this point you should have a directory structure that
looks similar to:
/root
-index.php
-/smc
- Create a mysql database for your project
- Import the sql file into your new database, located at
/smc/config/sql/smc.sql
- Duplicate the database connection file located at
/smc/config/database.config.php.default. Call it database.config.php.
- Modify the database connection information for the database
connection file you just created.
- Take a look at /smc/config/config.ini.php and modify it if necessary.
- Login to the administrator.
- un1: admin OR un2: editor
- pw1: admin OR pw2: editor
- Add some content blocks.
- Use the sample layout page
as a guide to what you should include and where you should include it.
- This project uses FCKEditor. You may need to
visit the FCKEditor site
and investigate customizing FCKEditor to allow file uploads, etc.
- Have fun!
Running the Demo Application
This project does come with a (quickly hobbled together) demonstration application.
- FYI, even though the demo is located in the smc directory,
it is strongly advised that you do NOT create your site files in the smc directory.
Instead, drop the smc directory in your site root and reference the necessary files.
- Import the /smc/config/sql/smc_demo.sql file into the blocks table that
you should have in your SimpleMC database
- If you haven't already, login to the administrator.
- un1: admin OR un2: editor
- pw1: admin OR pw2: editor
- Visit the demo.