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

  1. PHP 5.0.5+
  2. MySQL 5.0+

Simple MC Sample File Setup

  1. Download and unzip SimpleMC to your desired location.
  2. Create a mysql database for your project
  3. Import the sql file into your new database, located at /smc/config/sql/smc.sql
  4. Duplicate the database connection file located at /smc/config/database.config.php.default. Call it database.config.php.
  5. Modify the database connection information for the database connection file you just created.
  6. Take a look at /smc/config/config.ini.php and modify it if necessary.
  7. Login to the administrator.
    • un1: admin OR un2: editor
    • pw1: admin OR pw2: editor
  8. Add some content blocks.
  9. Use the sample layout page as a guide to what you should include and where you should include it.
  10. This project uses FCKEditor. You may need to visit the FCKEditor site and investigate customizing FCKEditor to allow file uploads, etc.
  11. Have fun!

Running the Demo Application

This project does come with a (quickly hobbled together) demonstration application.

  1. 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.
  2. Import the /smc/config/sql/smc_demo.sql file into the blocks table that you should have in your SimpleMC database
  3. If you haven't already, login to the administrator.
    • un1: admin OR un2: editor
    • pw1: admin OR pw2: editor
  4. Visit the demo.