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
Hi, i'm trying to make this works, but no way, i only get a popup with: Request failed: error. (db.squlite is writable). Any suggestion? Thanks
P.S
Here is the Log of my Apache server,
[Mon Dec 02 13:20:00 2013] [error] [client 127.0.0.1] PHP Fatal error: Class 'SQLiteDatabase' not found in /Users/gio/Sites/developement/aloha-demo/save.php on line 4, referer: http://127.0.0.1/developement/aloha-demo/page.php
[Mon Dec 02 13:20:00 2013] [error] [client 127.0.0.1] PHP Stack trace:, referer: http://127.0.0.1/developement/aloha-demo/page.php
[Mon Dec 02 13:20:00 2013] [error] [client 127.0.0.1] PHP 1. {main}() /Users/gio/Sites/developement/aloha-demo/save.php:0, referer: http://127.0.0.1/developement/aloha-demo/page.php