Login or Register

RSS IconRecent posts in this topic

avatar
Haris.TV on Mar 5. 2007. 5:51 am
This hack allows task commenting on a new 'task details' page.

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!
avatar
attiks on Mar 5. 2007. 6:29 am
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

Enjoy
avatar
Haris.TV on Mar 5. 2007. 7:24 am
Hi attiks,

Thanks for posting that. Being able to add links in the description field alone is a great bonus!

I've updated the task comments hack to include your changes and credited you in the files.

Let me know if that's ok.

Thanks again

Haris
avatar
boxfan on Mar 5. 2007. 8:53 am
Very nice, thanks to both of you.
avatar
attiks on Mar 5. 2007. 11:38 am
Haris,

No problem, glad to help

Thanks for adding the credit
avatar
Ryan Cross on Mar 5. 2007. 4:22 pm
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.

Good work guys, and I love seeing it.
avatar
Haris.TV on Mar 6. 2007. 4:12 am
@Ryan, I'm all for open source.

Glad people are finding the hack useful :)
avatar
Jakub on Mar 7. 2007. 9:58 am
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...

Anyone else experience this?
avatar
Haris.TV on Mar 7. 2007. 10:24 am
I haven't experienced this.

Make sure you have uploaded all the files to the correct places. Replace them and try again.

If that still doesnt work, do you have PHP error logging setup? If so have a look if any error messages are being reported.
avatar
boxfan on Mar 7. 2007. 10:28 am
I have the hack installed and it works perfectly.

RSS IconRecent posts in this topic