Home News Bugs Downloads Docs Forum CVS Stats
Installation
Note: AjaxNotes sits on top the built-in 'devnotes' module so if you already have installed its database, you shall skip to step 2.
1. Create the necessary database tables with the following commands:
$ cd /PATH/TO/SITELLITE
$ /path/to/mysql -p -u USER DBNAME < inc/app/ajaxreader/install/install-mysql.sql
(enter password when prompted)
2. Log in to your site and add a sidebar (you can choose any name and id, it doesn't matter). While you're doing it, switch to second tab and enter 'ajaxnotes/index' in the 'Alias of (a box name)' field. Set other options per your requirements and submit the form.
3. Paste the following tag into the <head> section of your templates:
This is actually a hack because there seem to be no way to call 'page_add_script' from inside the box. Another way to do this is to call the 'ajaxnotes/index' box from inside your templates directly by putting the following string in proper place in your templates:
Note that you can't mix these two methods - either you put the <script> or the <xt:box>, not both of them.
Well, that's about covers it. You can now open any page of your site and try adding notes - take notice there's no page refresh at all!