PHP Classes

Target CMS: Content Management System

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 59%Total: 1,825 All time: 2,157 This week: 43Up
Version License PHP version Categories
target-cms 1.0.0BSD License5.0PHP 5, Content management
Description 

Author

This package implements a content management system.

All the HTML is generated by PHP classes, so it does not use separate HTML templates, only PHP plus CSS and a few JavaScript files.

It also optionally uses two WYSIWYG HTML editor products to edit the content stored in the MySQL database. See the documentation.

Picture of Graham Trott
Name: Graham Trott <contact>
Classes: 2 packages by
Country: Italy Italy
Age: 76
All time rank: 122448 in Italy Italy
Week rank: 178 Up7 in Italy Italy Up

Details

Target CMS - Home page: http://targetcms.com ============================================ 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 http://targetcms.com 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 (http://ckeditor.com/) and EditArea (http://www.cdolivet.com/index.php?page=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. mysql.mydomain.com. (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.

  Files folder image Files (56)  
File Role Description
Files folder imagephp (1 file, 3 directories)
Files folder imagewww (1 file, 7 directories)
Accessible without login Plain text file index.php Appl. Main program for TCMS
Accessible without login Plain text file readme Doc. Main readme file
Accessible without login Plain text file target.php Appl. Main program

  Files folder image Files (56)  /  php  
File Role Description
Files folder imagecommon (5 files)
Files folder imagelib (2 files)
Files folder imagetemplate (9 files)
  Accessible without login Plain text file host Data Configuration file

  Files folder image Files (56)  /  php  /  common  
File Role Description
  Plain text file base.php Class Base class for data classes
  Plain text file db.php Class Database classes
  Plain text file exception.php Class Exception class
  Plain text file fn.php Class Miscellaneous functions
  Plain text file html.php Class HTML classes

  Files folder image Files (56)  /  php  /  lib  
File Role Description
  Plain text file admin.php Class Admin program
  Plain text file statistics.php Class Statistics module

  Files folder image Files (56)  /  php  /  template  
File Role Description
  Plain text file blog.php Class Blog template class
  Plain text file button.php Class Button template class
  Plain text file contact.php Class Contacts template class
  Plain text file content.php Class Content template class
  Plain text file forum.php Class Forum template class
  Plain text file home.php Class Home template class
  Plain text file masthead.php Class Masthead template class
  Plain text file misc.php Class Misc template class
  Plain text file sidebar.php Class Sidebar template class

  Files folder image Files (56)  /  www  
File Role Description
Files folder imagebots (3 files)
Files folder imagecaptcha (2 files)
Files folder imagecss (9 files, 1 directory)
Files folder imageexport (5 files)
Files folder imageimages (1 directory)
Files folder imagescripts (5 files)
Files folder imageupload (3 files)
  Accessible without login Plain text file index.php Appl. Entry point stub

  Files folder image Files (56)  /  www  /  bots  
File Role Description
  Accessible without login Plain text file blocked.html Aux. Message to a bot
  Accessible without login Plain text file blocked2.html Aux. Message to a bot
  Accessible without login Plain text file blocked3.html Aux. Message to a bot

  Files folder image Files (56)  /  www  /  captcha  
File Role Description
  Plain text file captcha.php Class Captcha module
  Accessible without login Plain text file ttf.readme Doc. Documentation

  Files folder image Files (56)  /  www  /  css  
File Role Description
Files folder imageadmin (1 file)
  Accessible without login Plain text file blog.css Aux. CSS script
  Accessible without login Plain text file button.css Data CSS script
  Accessible without login Plain text file contact.css Data CSS script
  Accessible without login Plain text file content.css Data CSS script
  Accessible without login Plain text file default.css Data CSS script
  Accessible without login Plain text file forum.css Data CSS script
  Accessible without login Plain text file home.css Data CSS script
  Accessible without login Plain text file masthead.css Data CSS script
  Accessible without login Plain text file sidebar.css Data CSS script

  Files folder image Files (56)  /  www  /  css  /  admin  
File Role Description
  Accessible without login Plain text file admin.css Data CSS script

  Files folder image Files (56)  /  www  /  export  
File Role Description
  Accessible without login Plain text file blog.txt Data Backup data file
  Accessible without login Plain text file content.txt Data Backup data file
  Accessible without login Plain text file forum.txt Data Backup data file
  Accessible without login Plain text file language.txt Data Backup data file
  Accessible without login Plain text file template.txt Data Backup data file

  Files folder image Files (56)  /  www  /  images  
File Role Description
Files folder imagesystem (7 files)

  Files folder image Files (56)  /  www  /  images  /  system  
File Role Description
  Accessible without login Image file arrow-down.png Icon Down arrow
  Accessible without login Image file arrow-up.png Icon Up arrow
  Accessible without login Image file blank.png Icon Blank icon
  Accessible without login Image file cut.gif Icon Cut icon
  Accessible without login Image file edit.gif Icon Edit icon
  Accessible without login Image file save.gif Icon Save icon
  Accessible without login Image file view.gif Icon View icon

  Files folder image Files (56)  /  www  /  scripts  
File Role Description
  Accessible without login Plain text file admin.js Data Admin script
  Accessible without login Plain text file date.js Data Date script
  Accessible without login Plain text file editcss.js Data Editor support script
  Accessible without login Plain text file editphp.js Data Editor support script
  Accessible without login Plain text file menu.js Aux. CSS script

  Files folder image Files (56)  /  www  /  upload  
File Role Description
  Accessible without login Image file english.gif Icon English flag
  Accessible without login Image file francais.gif Icon French flag
  Accessible without login Image file italiano.gif Icon Italian flag

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,825
This week:0
All time:2,157
This week:43Up
User Ratings User Comments (1)
 All time
Utility:87%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:68%StarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:1304