Date index for Jan 2004


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:[achievo] email notifier for new/finished projects



Hello Nele,

One way would be to insert your code into the postUpate() and postAdd() methods from class.project.inc. Or, if you want to be notified more often (e.g. whenever new time registration is added), you can do the same into class.hours.inc. You don't need to put all your code in there, just a call to a relevant function from your custom "notifier" module. 

Or you could defined a new class, extending the standard project and/or timereg classed from Achievo, if you want to add more advanced features, such as defining who receives notifications for each project etc.

Best regards,
Sebastian



Nele Vogel  (1/6/2004  10:52 AM):
>Hello,
>
>I would like to generate an email notifier whenever a project is
>(a) created and (b) finished. Is there an easy way to obtain this functionality (without mixing my code with Achievo's native sources, if possible)?
>
>Looking at "config.menu.inc" I figured, function "project()" in file "class.project.inc" is called when I go to view "project administration". But to which action do I have to attach my code and how?
>
>All suggestions will be appreciated!
>Thank you for your help.
>
>Regards,
>Nele.
>


http://www.achievo.org/lists achievo.org - ©1999-2002 ibuildings.nl BV