Download Latest Version easy Php CMS 1.1 (43.4 kB)
Email in envelope

Get an email when there's a new version of EasyPhpCMS

Name Modified Size InfoDownloads / Week
Parent folder
ReadMe.txt 2009-07-13 2.9 kB
dbSQL.txt 2009-07-13 11.4 kB
EasyPhpCMS.zip 2009-07-13 133.3 kB
Totals: 3 Items   147.6 kB 0
Thank you for downloading easyPhpCMS. 


1. Introduction

This is just an effort I put in to create my own personal blog/profile. While developing the code, it looked like ti could be useful for people who might be looking to 

2. Files and code

The zipped file has all the php/html code. It just has to be unzipped and deployed behind your php enabled web server installation. The 'img' folder has to two images black.jpg and blue.jpg that are used in the top menu gradient. 'logo.gif' is my own which can be and should be replaced with your own. m2.jpg forms a part of the sample stories I put in the sample content for the CMS, it can be removed by just removing its link in the data entered content.

4. Site design:

The site is divided into 8 pages which are loaded by via links on the top menu. The top menu is created within 'header.php' which loads content for each page. Each page loads header which creates the logo and top menu. These can be changed by editing the header.php content's <ul> tag. 

5. Database setting

Database's mysqli connection is created in DBManager.php loaded from the config file db_local.ini, the required information just has to be added directly into the file.



6. Content Configuration.

The entire content stays in four tables:

main_story
full_story
side_story
feedback

main_story holds the main central content for any page which is loaded within the pre-styled divs in each page. . It loads the content based on the column PAGE_NM, so for index.php the sotry has to be entered in row with PAGE_NM value as "/index.php" and similarly for other pages. The actual content comes under the column STORY which of mysql data type TEXT, it can also have styled html. The STRONG_TEXT forms the heading text for the story/content.If the story is long, it can be linked into the table full story with a story Id by creating a link within the story tag passing the story id as a request paramater. e.g. <a href="fullstory.php?storyId=story>read full story</a>. fullstory.php extracts the story from the table full_story and displays it in a blank template page

side_story forms the table for creating content for side divs, it functions the same way as full_story.

feedback saves the data that is input from the contact us page. contact.php is slightly different than other content pages, and creates an ajax request back into the server with feedback data enetered by a visitor on the web page.

7. Sample data creation.

A script file dbSQL.txt copied off phpmyadmin export is attached which has table creaation and sample data population SQL. its creates a schema 'myDb', change it as per your requirements.


8. Support 

Please contact me at yash.sharma2000@gmail.com for any more information, and feel to modify the project code and use as per your requirement.













Source: ReadMe.txt, updated 2009-07-13