J. Christopher Pereira created a journal module which is quite handy: it lets you add notes to projects - any type of note, without creating a task.
The module is very useful, but a coworker requested that we modify it so you could add a journal note without ever leaving the project view page. Instead of a new window opening to enter the journal note, you simply enter the note into a text box that is always visible on the project view page.
You just enter text in the new text field, hit "save"...
![]()
..and it shows up at the top of the list.
![]()
To give you an idea of how I work when customizing dotproject, since my knowledge of php is limited, I look for similar functionality to what I want somewhere else in the application, then copy the code to where I want it to appear. That usually creates errors, but with debugging on, the errors give you clues to what is missing, often database queries or url parameters. I fix them one by one - laborious but it works!
The revised journal module files are available below. The files which were modified are modules/journal/index.php, modules/journal/addedit.php and modules/project/view.php.
Hi
I have tried this out with Dotproject 2.1.1 and it throws up all kinds of horrible mysql error messages? The original Journal module works fine but these changed files cause all kinds of problems.
Are these mods compatible with the latest Dot project? They look very useful..
Posted by: Barry on December 21, 2007 2:43 AMBarry
They may not be. When I have time, I'll experiment with getting this particular mod to work with 2.1.1.
Posted by: Ellen on December 21, 2007 2:00 PM