Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic content in the notification by email #1881

Open
mckillo opened this issue Jan 11, 2025 · 0 comments
Open

Dynamic content in the notification by email #1881

mckillo opened this issue Jan 11, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request proposal
Milestone

Comments

@mckillo
Copy link
Collaborator

mckillo commented Jan 11, 2025

From forum: Modifying Emails sent to registered attendees without venue
JEM does not have any option to customize the fields in email notifications.

Now, the notifications are static, based on the content of jem.ini, such as PLG_JEM_MAILER_USER_REG_ON_WAITING_BODY_9, and the %s it contains, with a fixed order in the sprintf of the code.

The proposal consists of two phases:

  1. Replace all %s with placeholders like {event_title}, {event_description}, {attendeename}, etc. This will make the content dynamic. The admin should be able to define the text template for each notification email, change the order in which they want to place the fields, and decide which fields to include.

  2. Store the custom notifications in the database. This is more complex in the code; it represents a major update to the mailer plugin and poses a challenge for multilingual support.

We need to rethink this before proceeding with further discussion.

@mckillo mckillo added the enhancement New feature or request label Jan 11, 2025
@mckillo mckillo added this to the JEM 4.4.0 milestone Jan 11, 2025
@mckillo mckillo self-assigned this Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request proposal
Projects
None yet
Development

No branches or pull requests

1 participant