Skip to main content

Event placeholders

Placeholders of the category event for notifications

Updated over 3 months ago

The Event placeholder in Moodle refers to dynamic information related to specific events within the system. These placeholders capture and display details about events such as user actions, course activities, system operations, and more. When an event occurs, Moodle captures relevant data, which can then be used in Pulse notifications.

  • Event_Name: Represents the name or title of the event that occurred. This could be descriptive text indicating the type of event, such as "Assignment Extension Granted."

  • Event_Namelinked: Provides a linked representation of the event name. This placeholder could be used to create a hyperlink to more detailed information about the event, allowing users to navigate to relevant content.

  • Event_Description: Describes the details or nature of the event. It typically provides additional information about what happened during the event, such as "An extension has been granted for assignment submission." Event_Time: Indicates the timestamp when the event occurred. This placeholder displays the date and time of the event, formatted according to the system settings or locale.

  • Event_Context: Represents the context or location where the event took place. For example, this could be the course name or activity name associated with the event.

  • Event_Contextlinked: Provides a linked representation of the event context. Similar to Event_Namelinked, this placeholder can be used to create hyperlinks for navigating to specific contexts within Moodle.

  • Event_Affecteduserfullname: Displays the full name of the user who is directly affected by the event. This could be the user receiving the extension, for instance.

  • Event_Affecteduserfullnamelinked: Provides a linked representation of the affected user's full name. It can be used to generate clickable links to the user's profile or relevant information.

  • Event_Relateduserfullname: Represents the full name of another user who is related to or involved in the event. In the case of an extension being granted, this might be the teacher or administrator who granted the extension.

  • Event_Relateduserfullnamelinked: Offers a linked representation of the related user's full name. This placeholder can be used to create clickable links to the related user's profile or details.

Did this answer your question?