Neuronal - Content Management System
- Created: 01/05/2015
- Latest update: 03/15/2015
- Website: MyNeuronal
URL: https://demo.myneuronal.com/admin/
Email: demo@demo.com
Password: demo
You wont be able to save or change any content/config. This is just a demo to see what Neuronal offers.
To install Neuronal follow the steps below:
-
Upload your files to your domain via FTP.
-
Go to config/config.php.
-
Edit $dbhost, $dbuser, $dbpass & $db with your datebase data.
-
Upload the new file.
-
Access to your website and fill the installation form.
To activate the reCAPTCHA & Login Attempt system:
-
https://www.google.com/recaptcha/intro/index.html
-
Introduce you domain.
-
Copy and paste your private and public key into the CMS.
-
Config the number of attempts before show the captcha (3 by default)
Neuronal has a unique feature that lets you edit your website while you are watching it. If you dont like how the CMS editor is editing your contents, live edit your website and see how it looks.
There are two main themes
-
Liquid (One Page Theme) (Live Edit Mode)
-
Multipage
You will be able to create your own theme or just edit the main ones with your own styles & functions.
If you want to add Live Edit Mode (LEM) to your theme you should add a function and some custom id's per each of your page types. To learn more about this, please check Functions Categories.
This are the functions included at functions.php. Use them to create your theme.
-
get_pages() - [Returns all the pages]
-
get_page($url) - [Returns a page following it's URL]
-
get_pages_by_exception($exception) - [Returns all the pages that arent from the $exception type]
-
get_page_by_type($type) - [Returns all the pages from a unique type]
-
get_page_by_type_subindex($type) - [Returns all the subpages from a unique type]
-
get_page_by_title($title) - [Returns a page following it's title]
-
get_index() - [Return the 'order=0' page]
-
page_type($id) - [Return the type of a page]
-
page_date($id) - [Return the date of a page]
-
views() - [Path to the file that updates the views per month][This shouldnt be used because it's already included at header_theme()]
-
page_title($id) - [Prints the page title]
-
r_page_title($id) - [Returns the page title]
-
display_header($id) - [Returns if display_header value in a page]
-
page_subtitle($id) - [Prints the page subtitle]
-
r_page_subtitle($id) - [Returns the page subtitle]
-
page_content($id) - [Prints the page content]
-
r_page_content($id) - [Returns the page content]
-
page_thumb($unicid) - [Prints the page thumbnail]
-
get_page_thumb($unicid) - [Returns the page thumbnail]
-
r_page_thumb($unicid) - [Returns the page thumbnail][Same use as get_page_thumb($unicid)]
-
check_page_thumb($unicid) - [Checks if the thumb exist or not and returns 1 if exist or 0 if not]
-
get_page_order($id) - [Returns page order]
-
get_page_unicid($id) - [Returns the unicid of a page]
-
page_tags($id) - [Prints page tags]
-
get_ticket_email() - [Prints the email used for the email tickets]
-
theme() - [Prints active theme name]
-
theme_url() - [Prints active theme URL]
-
title() - [Prints CMS title]
-
logo() - [Prints CMS logo]
-
logocheck() - [Checks if the logo exist or not and returns 1 if exist or 0 if not]
-
description() - [Prints CMS description]
-
isadmin() - [Checks if the user is admin or not and returns 1 if it's or 0 if isnt]
-
header_theme() - [Standar header that should be included before the end of <head>][LEM]
-
liveditscript($id) - [This function must be included in every page query that you would like to have with Live Edition Mode][LEM]
-
page_title_id($id) - [Prints "title_$id"][LEM]
-
page_subtitle_id($id) - [Prints "subtitle_$id" custom id][LEM]
-
page_content_id($id) - [Prints "content_$id" custom id][LEM]
-
page_thumb_id($id) - [Prints "thumb_$id" custom id][LEM]
Please, to learn more about how to create a theme, check the main themes I made.
To add LEM to your theme you must add the custom ids and the Live Edit Script.
Neuronal has the option to manage your Theme Modules and switch them on or off.
To add a module/plugin to your theme, add an array to the file modules.php at your theme.
For example:
//Variable, type, name & description
array("cenable","contact","Contact Form", "Ajax Contact Form")
Check modules.php at Liquid theme to see how it works.
When you switch the module the CMS will create/update a page with the type, name & description of the array. To add it to the theme you just need to call it like another kind of page.
To create different kinds of pages to the editor, add the names to the array in the function pagetypes() at the file functions.php of your active theme.
Example:
array("parallax", "team");
To create different kinds of subpages to the editor, add the names to the array in the function atrtypes() at the file functions.php of your active theme.
Example:
array("team");
This is under development and will be updated with a tool to edit the page types through the CMS without open code.
The languages included are:
If you find any bug/exploit or you have any question please contact me at Evanto Market.