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.
- Copy and paste mini-cms files to the root folder (mini-cms folder, img folder, mc-login.php file).
- Create database with mini-cms and insert tables and data from mini-cms.sql file.
- Modify default server information from db_information.php file.
$servername = "localhost";
$dbadmin_name = "root";
$dbadmin_password = "";
$dbname = "mini-cms";
- 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');
?>
- Add
<?php echo $text[i]; ?>
for website texts (1<=i<=20). - 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). - Browse to /mc-login.php to login with default credentials username: [email protected] and password: 1234.
This project is licensed under the MIT License - see the LICENSE file for details.