// alex lawrence

[re]solution installation

Posted on 2009-01-21 in Web, [re]solution, PHP

This is a simple and compact installation guide for the [re]solution mini cms.

Files

Extract archive and transfer to your webspace. Then your target folder should have the following contents:

  • admin/
  • util/
  • index.php
  • .htaccess

Database

If not already existing, create a database and a user with read and write rights. [re]solution only needs about 7 tables.

Folders & rights

Set the rights of .htaccess, /admin/files and /admin/lib/connection to 0x757 (i.e. with a FTP program). /admin/files is used for file uploads, /admin/lib/connection for the database configuration file.

Configuration

To setup [re]solution open the /admin folder in your browser (i.e. www.homepage.url/admin). From this point on everything should be self explanatory. You must enter the database connection and create a root user. Furthermore you can add standard classes to your installation. These classes are needed if you use the standard template.

[re]solution itself only uses the /admin folder. The files /index.php, /.htaccess and the folder /util are used for the standard template. The standard template provides the possibility of a dynamic menu, dynamic content and a simple blog. You only need to change the CSS file to change the looks of your new homepage.

Workflow

Preparations

Target home is built in (X)HTML
[re]solution is installed in /admin

Realization of classes and references

Transform content structure into class and reference structure
Create classes and references in admin area
Create example nodes

Make site dynamic

Rename target HTML page to PHP and edit
Implement own commands and logic

require_once( "admin/lib/00_includes.php" );
include_all( "admin/", false );
...