Introducing TohDoh Yet Another CakePHP AJAX Todo-List Demo
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
You can see the demo running here. The code is available at cakeforge
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
-
-
‘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) <form method=”post” action=”<?php echo $html->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..
Let me all think what you think of it..
Cake!
Thanks! Very interestingly.
[...] TohDoh is an Ajax todo list demo application. Installation instructions and a live demo can be found on CraZyLeGs website. Its source code can be downloaded from [...]
this is nice, will be needing to do something similar in upcoming app - thanks! Hey Oth, do you know if OthAuth is working without problems in latest alpha of Cake 1.2? If not, which version of Cake 1.2 wd you recommend me to use for the default mode of OthAuth? thanks Luke
ps like this new blog design! C’est tres belle
Possible to show the task number? i.e., 1:Task One, 2: Task Two…
Cool stuff!
You should change the layout, if the action-buttons always appear depending on the length of the title, it’s not so nice, to navigate through your tasks.
Nice work!
Nice
Hey, I keep getting a too much recursion exception when dragging items of the to do list.
Why do I get that kind of stuff although I just installed everything as described.
I’d really appreciate if anyone can help me.
On October 22, 2007 11:18am I’ve tried to use demo and received those errors codes :
Warning: require(/home/devmoz/apps/devmoz.com/cake/bootstrap.php) [function.require]: failed to open stream: No such file or directory in /home/.schmooze/devmoz/devmoz.com/index.php on line 85
Fatal error: require() [function.require]: Failed opening required ‘/home/devmoz/apps/devmoz.com/cake/bootstrap.php’ (include_path=’.:/usr/local/php5/lib/php:/usr/local/lib/php:/home/devmoz/apps/devmoz.com:/home/devmoz/apps/devmoz.com/app/’) in /home/.schmooze/devmoz/devmoz.com/index.php on line 85
[...] TohDoh is another cakephp ajax todo list demo.Plenty of interactive features. http://www.devmoz.com/blog/2007/04/14/introducing-tohdoh-yet-another-cakephp-ajax-todo-list-demo/ [...]
Fatal error: Class ‘ListBehavior’ not found in /home/.schmooze/devmoz/apps/devmoz.com/cake/libs/model/model.php on line 430
Just FYI
Not working at all, the zip file doesn’t have any sql, controller, model or views files.
you can find all you want
tohdoh/plugins/tohdoh
There’s an error.. can you email me when you have it fixed and the demo up and running?
[...] ToDoh - Ajax todo list [...]
demo down.
Demo down and no attempt to fix in a year.
Demo down.
Could you fix it?
won’t it be released anymore?
could u fix it?
I have this error
Warning: require(CORE_PATHcake\basics.php) [function.require]: failed to open stream: No such file or directory in D:\VertrigoServ\www\a\weas\cake\bootstrap.php on line 34
Fatal error: require() [function.require]: Failed opening required ‘CORE_PATHcake\basics.php’ (include_path=’.;D:\VertrigoServ\Smarty’) in D:\VertrigoServ\www\a\weas\cake\bootstrap.php on line 34
Help me plz
Ive been researching this and I’ll have to agree
Work From Home ……
It is amazing how many individuals miss this one ……
Interesting article. Were did you got all the information from…
I usually don’t post in Blogs but your blog forced me to, amazing work.. beautiful
im in general surfing across the net nearly all of the evening hence I tend to read a whole lot, which unfortunately is not typically a good matter as the majority of the internet resources I view are constructed of pointless garbage copied from several other web pages a million times, nonetheless I’ll hand it to ya this website is definitely quite informative and also has got a lot of authentic substance, so many thanks for removing the phenomena of exactly copying other people’s sites, if you ever wanna try a couple of hands of myspace poker together just hit me up - you have my e mail
I really loved reading your blog. It was very well written and simple to undertand. Unlike additional blogs I have read. I also found it very interesting. In fact after reading, I had to go show the spouse and she ejoyed it as well!
ow, I never new that, much appreciated.
Hai dude This is very nice idea LOL. Do u like watch worldcup 2010 ? I love Portugal . How about you dude ? Regards admin of erbpainting.com
A weblog with information very exciting, congratulations to the writer!
Great post, like it very much, keep on the good work!
Thank you for another fantastic blog. Where else could I get this kind of information written in such an incite full way? I have a project that I am just now working on, and I have been looking for such information… Regards…