Looks great, I modified some files to add textile support as well to the description field of a task_list
in TaskController.class.php add the following:
- line 31 after function index() { : $this->addHelper('textile');
- line 44 after function view_list() { : $this->addHelper('textile');
in views/task/task_list.php:
- line 33 replace clean with do_textile
This is 90% of what open source software is all about. The other 10% of it is being able to incorporate these improvements into the main code base so everyone benefits and its not lost in a forum post.
I like the hack but what I find is a problem is after you post a comment it simply leaves you at a blank page.. I have tried this in multiple browsers IE6 / 7 & Firefox 2, with same result.. both resulting in either a PHP error that doesn't redirect back to any page or just a blank page.. refreshing the page 'double posts' the comment...
I've just refined the hack and posted the updates.
task_details.php
- Task Text now displayed in info box
- 'Assigned to' displayed
- Task 'Edit' and 'Delete' links added
task_list.php
- Displays number of comments next to task
If you have previously downloaded the files, download again and replace.
http://haris.tv/2007/02/28/activecollab-and-071-hack-for-task-comments/
Enjoy!