Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Plugins
  1. OpenProject
  2. Forums
  3. Plugins
  4. New Plugin creation help

New Plugin creation help

Added by Scott Sanders about 9 years ago

I am attempting to create a very simple plugin that will allow me to add a Todo Checklist to work_packages. I am able to have OP recognize the plugin and I have added in the routes.rb file a route to the plugin (/todolist) and it works fine. My issues are:

  • getting the table to list in the workpackages
  • sharing the workpackage_id to my plugin to link items many to one(todolist to work_package)
  • when coping a work package, to duplicate the todolists over.

Part of the problems I have are the complete lack of documentation on how to create a plugin for OP. I have gone through multiple times the tutorials on this site and found them intially great but when you need to do any real work with a plug in this is very difficult. I have tried to look through the existing plugins as examples and found nothing to help any of my 3 issues I stated.

If there is anyone that can help me with a guide or tutorial on how these work that are not just generic comments of using a tutorial on this site, please let me know.

Thanks


Loading...