PHP Classes

File: readme

Recommend this page to a friend!
  Classes of Graham Trott   Target CMS   readme   Download  
File: readme
Role: Documentation
Content type: text/plain
Description: Main readme file
Class: Target CMS
Content Management System
Author: By
Last change: Updated file
Date: 12 years ago
Size: 2,753 bytes


Class file image Download
Target CMS - Home page: ============================================ Target CMS is an all-PHP Content Management System, using MySQL to hold all textual site content and providing an easy-to-use admin interface for site owners to manage their pages and add new ones. This package implements a complete website using just PHP classes with supporting CSS and Javascript files. No metafiles or template languages are needed. All the HTML for a page is generated by the PHP classes themselves, allowing the programmer to focus on implementation using just PHP. More complete documentation is available at and you are welcome to contact the author by email via the website. Here is an extract from the Install page of the website: Note: TCMS requires the php5-gd module to be installed in your system in order to do certain graphics functions. After installation you'll need to restart your server. You will also need two third-party open-source packages, CKEditor ( and EditArea ( Go to each of these and download them. If you have difficulty locating either of these then contact us. Installation To install TCMS, copy the downloaded file into an empty directory on your server and unpack it. You should have two folders (php and www) and a single index.php file. Unpack CKEditor and copy the unpacked ckeditor folder into www. Unpack EditArea and copy the edit_area folder (found inside the unpacked folder) into www. Open the php folder and load the "host" file into a text editor. You'll need to provide values for all the bracketed items, as follows. (The brackets must also be removed.) The items are as follows: (host name) The name of the MySQL server, e.g. (user) The MySQL user login name. (password) The MySQL password (database) The name of the database you intend to use. (Default page title) The default title of each page on your website. (admin password) The admin password to manage your content. (user password) The user password - fewer rights. (session prefix) A code to use as a session prefix, to avoid clashes with other sites. All other values are optional. Now start up the website at (mydomain)/www?admin Login using "admin" (if you didn't change it) and the admin password. The TCMS admin screen should appear. Go to the Import button and click it to import the sample site. Click the button to return to the site home page. You should see the sample site. Examine the source code (you can do this using the PHP manager), starting with the home page template. If you run into problems, contact us and we'll do our best to help.