Server with PHP5 support
Place this folder somewhere into your web server document root (eg: http://localhost/aloha-demo)
Download the latest Aloha Editor release from http://aloha-editor.org
Unpack the archive and place it into this folder. Rename it from alohaeditor-0.20.x.zip to alohaeditor. Check if you have './alohaeditor/aloha/lib/aloha.js' available.
The data is stored into a SQLite database. Be sure your web server user has write access to this folder. It will create a db.sqlite file where your content is stored.
When opening page.php the script tries to find available content for this page in the database or shows an "Edit me" message.
Click to edit the text (where it glows yellow). When leaving the editable area the content will be saved via AJAX to the database (see aloha-save.js and save.php)
To make parts of the website editable insert code like this:
The class "editable" tells Aloha Editor that this element is editable. You can define also an other name if you would like. The ID of the HTML element and the value for getAlohaContent() need to be the same.
For any further questions refer to the Aloha Editor guides: http://aloha-editor.org/guides/ or ask your question at https://getsatisfaction.com/aloha_editor
Awesome! Thank you so much for this. It's work perfectly for me.
Do you have any suggestion to add basic authentification? Allow editing for authentified user only.