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

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. How do I customize the format, layout, and content of email notifications?

How do I customize the format, layout, and content of email notifications?

Added by Phason Electronics about 8 years ago

I want to customize the email notifications, but cannot find where to do it, or which files to modify. Can somebody point me in the right direction?

Thanks,
Chris


Replies (6)

RE: How do I customize the format, layout, and content of email notifications? - Added by Catherine G almost 8 years ago

Hello,
I have the same problem. I would liket to edit the content of the emails which are sent, like the categories. Can somebody help us?
Thanks,
Catherine

RE: How do I customize the format, layout, and content of email notifications? - Added by Jens Ulferts almost 8 years ago

Hi,

the emails can not be customized via the UI (except from the footer). If one would want to adapt the notifications in the code https://github.com/opf/openproject/blob/dev/app/views/user_mailer/_issue_details.html.erb and https://github.com/opf/openproject/blob/dev/app/views/user_mailer generally is a good place to start. However, I would refrain from doing it in one particular installation as every subsequent update might remove the customization again.

The most stable way would be to issue a PR which introduces selecting the attributes to be sent.

Regards

Jens

RE: How do I customize the format, layout, and content of email notifications? - Added by Catherine G almost 8 years ago

Hello Jens,

Thank you for your very quick answer, I’m really happy.

Unfortunately I’m not a developer and I can’t modify the code myself.

Should I put it in the wish list in the openProject community or what would be the best way?

Thanks,
Catherine

RE: How do I customize the format, layout, and content of email notifications? - Added by Andreas Henkel about 6 years ago

 Hi,

thanks for the link to the views. Are there plans on making those templates customizable via the admin Panel? in which Controlle/middleware/modeL

would I need to add such an option? 

Best,

Andreas

RE: How do I customize the format, layout, and content of email notifications? - Added by Jens Ulferts about 6 years ago

Hi Andreas,

there are thoughts and discussions about the feature but no concrete plans, yet. 

If you plan to step up to implement it, please open up a work package or a PR on github so we can talk about the specifics.

Regards

Jens

RE: How do I customize the format, layout, and content of email notifications? - Added by Andreas Henkel about 6 years ago

Hi Jens, 

thanks for the quick reply. I opened a work package https://community.openproject.com/projects/openproject/work_packages/29570/ and opened a pull request https://github.com/opf/openproject/pull/7051 for further discussion on how this could be implemented and which restriction would apply. While looking through the app-folder I realized that there would be substantial and conceptional change in how the notification-handler works. 

Best, 

Andreas

  • (1 - 6/6)
Loading...