Skip to content

Update facetoface.php - fix default messages templates#279

Open
Vozsvarozs wants to merge 1 commit intocatalyst:MOODLE_403_STABLEfrom
Vozsvarozs:MOODLE_403_STABLE
Open

Update facetoface.php - fix default messages templates#279
Vozsvarozs wants to merge 1 commit intocatalyst:MOODLE_403_STABLEfrom
Vozsvarozs:MOODLE_403_STABLE

Conversation

@Vozsvarozs
Copy link

The current message templates include the venue, location and/or room fields for the sessions, but those fields are not included in the plugin by default anymore. They need to be added as custom session fields if one wants to use them.

Unless admins create them, update the local language packs or have users (teachers, managers) remove those from each and every F2F session instance by updating the notification messages, the emails sent will contain those and display meaningless lines (like in issue #105).

This is more problematic when the plugin is used in other languages, as the expressions for those placeholders are not included in the language pack. So either the EN custom fields are created. which might cause confusion for users, or some other workaround is needed to solve this.

Removing those lines from the default message templates could solve this issue.

The current default message templates include the venue, location and/or room fields, though those fields do not exist by default anymore.
So unless admins create them, or users remove them from each and every instance by changing the default notifications, the messages sent will contain those and display meaningless lines.
This is more problematic for cases when the plugin is translated, as the expressions for those placeholders are not included in the lang file, putting additional burden on admins to solve this.

So removing those lines from the message template could solve this issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant