Simple Single Page
This software offer a easy way to produce a basic single page website
Features
This mini web application offers:
- Real Visual Edition of the content
- Easy templating
- Auto-generation of the menu
- Integration of
- JQuery
- Bootstrap
- CKEditor (the WYSIWYG)
- NO SQL database
sitemap.xml
androbot.txt
ready to use.
Installation
There are 1 and half steps to install this software:
- copy all the contents of
singlepage/*
in theroot/*
of the server;
If something don't work check the permission of the file sample.xml
and edit.php
to 776
.
Personalization
Templating
Editing the file template.php
you can change the visualization of your page.
For each tag editable you should provide some data:
- a
id="id_of_the_tag"
- the attribute
contenteditable
totrue
- and the output of the variable
$html['id_of_the_tag']
The auto generated menu
The application offer a auto generate menu. You should place in the template.php
file a ul
tag with the class="menu"
. The ul
should contain the id
of the sible div (the editable div). For each h2
in the sible will be generate a entry in the menu.
The menu is only active in the view mode.
Advanced settings
You can edit CDK configuration in edit.php
to use other package by cdn.ckeditor.com.
And at the same time you can specify the plug-in to load or disable for advanced configuration.
Know issues
- write HTML/PHP code in the text will generate undefined behavior.