Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There can be multiple recipients for a single notification. The Template Set is run once for each recipient and identical notifications are aggregated together so that a single email is sent out with all of the related recipients included as one, instead of lots of individual identical emails with one for each recipient.

The two methods in the code block below instruct JEMHC that the user under which this Template Set is being run does have a notification that contains useful content. They act as a flag telling JEMHC that the notification should be sent for the current user and they only need to be called once.

Code Block
titleCall these to ensure your notification does not get ignored by JEMHC.
linenumberstrue
$jemhUtils.setCommentRendered()
	and/or
$jemhUtils.setFieldRendered()

Macro import structure

We use a multi-tier system where the more general tiers are imported into the more specific tiers, thus making all of the macros in the general tier available in the more specific tiers.

...