calendar icon indicating copy to clipboard operation
calendar copied to clipboard

How to edit the mail template for appointment?

Open RoundAboutWEB opened this issue 3 years ago • 7 comments

Is your feature request related to a problem? Please describe.

Mailtemplate will have some translationbugs and I need custom design.

Describe the solution you'd like

Error/ Problems:

  • Some texts are not translated correctly (German)
  • The location is output twice
  • How can the logo be changed?
  • How can content be added?

grafik

Describe alternatives you've considered

No response

Additional context

No response

RoundAboutWEB avatar Oct 25 '22 07:10 RoundAboutWEB

Emails are being built in the following file: https://github.com/nextcloud/calendar/blob/main/lib/Service/Appointments/MailService.php

tcitworld avatar Oct 25 '22 07:10 tcitworld

Hi!

I've fixed the location duplication.

For the subject and so on, there's supposed to be a translations, but looks like it's missing from the translation files as of yet. @rakekniven are you the right person to ask about this?

miaulalala avatar Oct 25 '22 07:10 miaulalala

But how can I make changes in the mail template update-safe? If I change the file "MailService.php", it will be overwritten during the next update.

RoundAboutWEB avatar Oct 25 '22 07:10 RoundAboutWEB

That's indeed not possible.

tcitworld avatar Oct 25 '22 07:10 tcitworld

For the subject and so on, there's supposed to be a translations, but looks like it's missing from the translation files as of yet. @rakekniven are you the right person to ask about this?

Just checked both german versions at Transifex and they are complete. The user has not named the app version which is used. Same for server version.

rakekniven avatar Oct 25 '22 08:10 rakekniven

@rakekniven NextCloud: 25.0.0 App "Calendar": 4.0.1

RoundAboutWEB avatar Oct 25 '22 09:10 RoundAboutWEB

But how can I make changes in the mail template update-safe? If I change the file "MailService.php", it will be overwritten during the next update.

I am pretty sure it is possible using https://github.com/nextcloud/templateeditor?tab=readme-ov-file#modifying-the-look-of-emails-beyond-the-theming-app-capabilities. It needs custom code but seems entirely possible.

smileBeda avatar Jul 23 '24 13:07 smileBeda