TohDoh is YET ANOTHER CAKEPHP AJAX TODO LIST DEMO or YACATLD, a 100% ajax threaded todo list. It’s both a showcase and an opportunity for new bakers to learn from.
TohDoh has some features like:
* Threaded, so you have tasks and sub tasks.
* You can add, edit in-place and delete tasks
* Drag & Drop to sort tasks
* And of course you can done & and undone tasks
How to install TohDoh
* Run the SQL file provided or use phpMyAdmin
* Copy the content of the app folder over your app folder.
* Download http://script.aculo.us/downloads and put the files in webroot/js/
* Create a connection in your database.php config file and name it tohdoh. Or change the name to default in app/plugins/tohdoh/models/node.php
Notice the ‘prefix’. if you don’t want that, change the table name.
* Go to yourhost.tld/tohdoh/nodes/ and start adding tasks.
I assumed you have cake version 1.2.
You might need to change some minor things for it to work in 1.1, the form creation $form->create()
to something like (not tested)
url(’/tohdoh/nodes/add’) ?>”>
Also I use the array syntax when specifying URLs, so you need to change things like
array(’action’=>’x’,$param) to ‘/tohdoh/nodes/x/’.$param etc..
TohDoh Yet Another CakePHP AJAX Todo-List
TohDoh is YET ANOTHER CAKEPHP AJAX TODO LIST DEMO or YACATLD, a 100% ajax threaded todo list. It’s both a showcase and an opportunity for new bakers to learn from.
TohDoh has some features like:
* Threaded, so you have tasks and sub tasks.
* You can add, edit in-place and delete tasks
* Drag & Drop to sort tasks
* And of course you can done & and undone tasks
How to install TohDoh
* Run the SQL file provided or use phpMyAdmin
* Copy the content of the app folder over your app folder.
* Download http://script.aculo.us/downloads and put the files in webroot/js/
* Create a connection in your database.php config file and name it tohdoh. Or change the name to default in app/plugins/tohdoh/models/node.php
# var $tohdoh = array( # ‘driver’ => ‘mysql’, # ‘persistent’ => false, # ‘host’ => ‘localhost’, # ‘login’ => ‘root’, # ‘password’ => ‘123456′, # ‘database’ => ‘devmoz’, # ‘prefix’ => ‘tohdoh_’ # );*
Notice the ‘prefix’. if you don’t want that, change the table name.
* Go to yourhost.tld/tohdoh/nodes/ and start adding tasks.
I assumed you have cake version 1.2.
You might need to change some minor things for it to work in 1.1, the form creation $form->create()
to something like (not tested)
url(’/tohdoh/nodes/add’) ?>”>
Also I use the array syntax when specifying URLs, so you need to change things like
array(’action’=>’x’,$param) to ‘/tohdoh/nodes/x/’.$param etc..
Demo: http://www.devmoz.com/tohdoh/nodes/
Download: https://cakeforge.org/projects/tohdoh/
Source: http://www.devmoz.com/blog/2007/04/14/introducing-tohdoh-yet-another-cakephp-ajax-todo-list-demo/
Related Listings: