Skip to content

Mini CMS was one of my first attempts of writing php code for a project about ellak.gr code courses. It is a tiny CMS project, that allows you to manage a simple website.

License

Notifications You must be signed in to change notification settings

georgealexakis/mini-cms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mini CMS

Mini CMS is a tiny CMS project, that enables the management of a simple website. Just add the arrays to your website and edit the texts from the administrator panel. Firstly, you should setup the database and accsess the panel.

Installation

  1. Copy and paste mini-cms files to the root folder (mini-cms folder, img folder, mc-login.php file).
  2. Create database with mini-cms and insert tables and data from mini-cms.sql file.
  3. Modify default server information from db_information.php file.
$servername = "localhost";
$dbadmin_name = "root";
$dbadmin_password = "";
$dbname = "mini-cms";
  1. Add the following php code at the top of your website files.
<?php
include('mini-cms/db_information.php');
include('mini-cms/login.php');
include('mini-cms/retrieve-photos.php');
include('mini-cms/retrieve-texts.php');
?>
  1. Add <?php echo $text[i]; ?> for website texts (1<=i<=20).
  2. Add <?php echo $url[i]; ?> for image url, <?php echo $category[i]; ?> for image category and <?php echo $name[i]; ?> for image name (1<=i<=6).
  3. Browse to /mc-login.php to login with default credentials username: [email protected] and password: 1234.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Mini CMS was one of my first attempts of writing php code for a project about ellak.gr code courses. It is a tiny CMS project, that allows you to manage a simple website.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published