Date index for Apr 2004
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
adding a new field, once more
Hi all (but mainly Ivo),
First: thanks a bunch for writing and publishing Achievo. We are about
to take it into production.
Before I do that, I would like to add a (boolean) field to the projects
database, say a 'billable' field, to be filled in each time an activity
is entered.
As I understood from Ivo's message from 24 Nov 2003, this is in fact a
'mini-module'.
Following the explanation in Ivo's article I had no problem adding this
field, and lo-and-behold, it DID indeed show up in the time-registration
forms. This was pretty cool, given that it was only five lines of code
or so.
However, I had no way of selecting/de-selecting this field in the
time-survey reports. And that something that is really necessary for my
manager.
I glanced through the code, and it looked like I should at code to
report/class.hoursurvey.inc, as it looks the search form is hardcoded
there.
Is this the only way to do this? Or is there a better, modular way to
include this in my module? I'd hate to modify the sourcecode, as it
would brake my upward compatibility with future versions. (Yes, I could
use diffs etc).
Also, but this is essentially the same question, I would welcome very
much Part 3 of "Developing Achievo Extensions", "using mini-modules".
I mean, er, Part 2 is from august 2002.
Don't you have some sort of bone you can throw at me?
Thanks in advance,
--
Hans Kinwel System Administration Momac H.Kinwel dot
K.P. van der Mandelelaan 100 * 3062 Rotterdam * The Netherlands
tel. (+31)-10-2660266 * fax. (+31)-10-2660260 * http://www.momac.net