Content
You are here:
Developing a plugin wich use/override openproject files/actions
Added by Fernando Almeida about 9 years ago
Hi, i’m new in this tool/forum.
I’m using openproject locally to study purposes. But i have to develop a plugin for do measuring, analysis of tasks(work packages) and stuffs like this.
I will need to create new fields in tasks and save this data in database. I believe i have to override some actions too.
Already try to search something in forum, but no helps to me. I learned to modify Gemfile and sucessfully added a auth_plugin, just for testing.
If someone could help me or tell me how to start this, i’ll be thankful.
Replies (3)
Hi Fernando,
welcome to the OpenProject community!
You can add additional attributes to work packages types (e.g. tasks) by using custom fields. These provide an easy way to add attributes without having to make any changes to the code.
You can find additional information on custom fields in the user guide.
If you plan to create an OpenProject plugin, you can take a look at these instructions.
We also have some information on code contributions.
Best,
Robin
Hi Robin, i appreciate the answer. I’ll ready more about custom fields and developing plugins to OpenProject.
Thanks again. IF someone have something do explin, i’ll be thankful.
I created a plugin, and add it to openproject plugins list. I readr too how to create and use custom fields, so useful until now.
My question now is: How to override some actions, like… when i want to save an task, for example, i want to do something, like calculate some fields, or create a new column and save a value there….
Someone can help me? Any other project that can do something like this? Thank you all!