Skip to content

When an event is restored

Sends a notification when a soft-deleted Solspace Calendar Event is restored from the trash.

Requires Solspace Calendar

Only available when the Solspace Calendar plugin is installed.

Calendar Filters

Choose which Solspace Calendars should fire this notification. Only events on the selected calendars will trigger it.

Selection is required

Check at least one calendar, or the notification won't fire.

Field Conditions

Field conditions restrict the notification based on the element's content, using Craft's native conditions framework. Build a rule set against the element's attributes and field values, and the notification will be sent only when every rule matches.

Must match all conditions

The condition builder evaluates every rule with AND semantics, so each rule must pass for the notification to be sent.

Twig variables

The object variable (and its event alias) is the restored Calendar Event.

twig
"{{ event.title }}" is back on the calendar.

Examples

Notify subscribers of a restored event

twig
The following event has been restored.

- Title: {{ event.title }}
- Calendar: {{ event.calendar.name }}
- Starts: {{ event.startDate|date('F j, Y g:i a') }}