Installation Instructions - Micro-CMS v.3.5

  1. Unzip and upload the microcms.zip file and upload the entire contents to your server.
  2. Chmod the config.php file to 777 to make it writable.
  3. Run the install.php file to install the database and config file.

That's it! Visit the test page (microcms-index.php) to see how Micro CMS works. It's really easy to add new blurbs to pages. Just go to the to the Admin Area (microcms-admin-home.php) to generate a new blurb and code. You'll get the hang of it in no time. Then, just bookmark the admin page and log in to manage the content on your site whenever you want.

If you are going to use Micro-CMS in a subdirectory , you will need to include a variable declairation, as well as change the relative path of the included files. See the example at the bottom of the page, or the working example in microcms_subdirectory_example/microcms-index.php.

Below is a super simple example of how a page driven by Micro CMS will look. Notice that there are two included files before anything, and then one included file in the header. You can copy the code below to start your own page, or just make sure that the inclueded files are where they're supposed to be.

<?php
include('micro_cms_files/config.php');
?>

<head>
<title>Micro-CMS Example Page</title>
<?php include('micro_cms_files/content-page-header.php');?>
</head>

<body>
<?php echo editBox('test_content'); ?>
</body>

And this would be the code you would use in a sub-directory:

<?php
$microcms_is_subdir = 1;
include('../micro_cms_files/config.php');
?>

<head>
<title>Micro-CMS Example Page</title>
<?php include('../micro_cms_files/content-page-header.php');?>
</head>

<body>
<?php echo editBox('test_content'); ?>
</body>

 

© 2006 Implied By Design LLC.