Extremely Simple CMS. Requires no knowledge other than html to theme for. Currently, there is no backend, but it is not too difficult to edit/add pages.
The default theme, is pretty ugly as I just chucked something together for development purposes, however I will work on putting out a nicer version.
- Built in theme elements/libraries
- Proper Backend
- JSON based version, rather than SQL (Won't require installation, faster, less config)
- Update Script
Installing CuraCMS is an extremely simple process and takes under a minute if you already know your sql information
Steps taken are as follows:
- Download curaCMS from the Official Page
- Upload curaCMS to your server and extract files
- Edit config.php according to your mysql information.
- Direct your browser to [curaCMS directory]/install.php
- Installation is complete! You may want to remove install.php to avoid the risk of security issues.
Adding content (as of the current version) requires you to add content to a mysql table. I know that this is not ideal and will be introducing a more simple, Client friendly way of adding and editing content in a future version of curaCMS
If you would like more information on this, or would like to help out you can email me at henry.greaves1@gmail.com
Adding content is not that difficult, and just requires you to be able to navigate the mysql interface.
Step One
Open up phpMyAdmin or which ever mysql interface you are using. On a standard webhost, this will be located on the control panel under mysql or something similar.
Step Two
Open the database created during installation (the name of which is specified under config.php) and then open up the table "cms".
Step Three
Go to the insert tab and fill out the fields accordingly.
id should be left blank as it automatically will be assigned, title is the name of the page as it appears on your navigation bar, and content is the page content
Content is standard html. You are able to add additional styling with "style" tags. Similarly, javascript can be added using "script"
In the default theme, each segment of content should be wrapped in
and tags.Open the browse tag of phpMyAdmin and click "Edit" next to the page you would like to edit
Your theme is located at the base of index.php. Another version has a dedicated file "theme.php", but that has a bug, so will be release once fixed. A curaCMS theme is comprised of standard html, and placeholders.
| Variable | Description |
|---|---|
| Location of the stylesheet for your theme (can be changed under config.php). | |
| Title of the page you are currently on. | |
| All of the items in the navigation bar wrapped in |
|
| Content of the page you are currently on. | |
| Name of your website (can be changed under config.php) | |
| Footer for your website (can be changed under config.php) | |
| ID of the page you are currently on. |
Example Theme
<html>
<head>
<link href=<?php echo $t_stylesheet;?> rel="stylesheet"/>
<title><?php echo $html_title; ?> | <?php echo $s_name?></title>
</head>
<body>
<section>
<nav><ul><?php echo $html_nav_items;?></ul></nav>
<?php echo $html_content ?>
<footer><?php echo $s_footer;?></footer>
</section>
</body>


