PHPackages                             heimrichhannot/contao-notification\_center\_plus - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. heimrichhannot/contao-notification\_center\_plus

ActiveContao-module[Mail &amp; Notifications](/categories/mail)

heimrichhannot/contao-notification\_center\_plus
================================================

Extends the notification center with additional features.

1.7.0(2y ago)39.5k15LGPL-3.0+PHPPHP ~5.4 || ~7.0 || ^8.0

Since Sep 15Pushed 2y ago6 watchersCompare

[ Source](https://github.com/heimrichhannot/contao-notification_center_plus)[ Packagist](https://packagist.org/packages/heimrichhannot/contao-notification_center_plus)[ Docs](https://github.com/heimrichhannot/contao-notification_center_plus)[ RSS](/packages/heimrichhannot-contao-notification-center-plus/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (7)Versions (58)Used By (5)

Notification Center Plus
========================

[](#notification-center-plus)

Extends the notification center with additional features.

General features
----------------

[](#general-features)

- header and inline css can be defined (automatic inlining support)
- additional salutation tokens for the currently logged in frontend user and the form (##salutation\_user##, ##salutation\_form##)
- the lost password module now has a separate jumpTo for changing the password
- ics files can be generated on the fly out of notification center tokens and will then be added to the attachments

Tokens
------

[](#tokens)

### Adding an automatically generated ICS file to the attachment of a notification

[](#adding-an-automatically-generated-ics-file-to-the-attachment-of-a-notification)

1. Create your notification as usual.
2. Add the token `##ics_attachment_token##` to the attachment tokens in the message's `tl_nc_language` record and activate the option at the bottom of the form.
3. Now you can add the tokens to the different fields to your wishes.

### context tokens

[](#context-tokens)

Notification center plus adds context tokens, like environment variables, and page information to the token array, as these are not available if sending later per cron.

TokenExample\##context\_tokens##true\##env\_host##[www.example.com](http://www.example.com)\##env\_http\_host##[www.example.com](http://www.example.com)\##env\_url##\##env\_path##\##env\_request##[https://www.example.com/en/testpage?query=test&amp;submit=true](https://www.example.com/en/testpage?query=test&submit=true)\##env\_request\_path##\##env\_ip##216.58.212.131\##env\_referer##\##env\_files\_url##TL\_FILES\_URL\##env\_plugins\_url##TL\_ASSETS\_URL\##env\_script\_url##TL\_ASSETS\_URL\##date##30.03.2017\##last\_update##29.03.2017 17:05\##page\_id##2\##page\_pid##1\##page\_sorting##1056\##page\_tstamp##1490106980\##page\_title##Home\##page\_alias##/en/home\##page\_type##regular\##page\_pageTitle##Homepage\##page\_language##en\##page\_robots##index,follow\##page\_description##null\##page\_redirect##permanent\##page\_jumpTo##\##page\_url##\##page\_target##\##page\_dns##[www.example.com](http://www.example.com)\##page\_staticFiles##\##page\_staticPlugins##\##page\_fallback##\##page\_adminEmail##\##page\_dateFormat##d.m.Y\##page\_timeFormat##H.i\##page\_datimFormat##d.m.Y H.i\##page\_createSitemap##\##page\_sitemapName##\##page\_useSSL##\##page\_autoforward##\##page\_protected##false\##page\_groups##false\##page\_includeLayout##\##page\_layout##1\##page\_mobileLayout##0\##page\_includeCache##\##page\_cache##false\##page\_includeChmod##\##page\_cuser##0\##page\_cgroup##0\##page\_chmod##\##page\_noSearch##\##page\_cssClass##\##page\_sitemap##map\_default\##page\_hide##\##page\_guests##\##page\_tabindex##0\##page\_accesskey##\##page\_published##1\##page\_start##\##page\_stop##\##page\_newsCategories\_param##\##page\_youtube\_template##\##page\_youtubePrivacy##\##page\_youtubePrivacyTemplate##\##page\_dlh\_googlemaps\_apikey##\##page\_mainAlias##home\##page\_mainTitle##Home\##page\_mainPageTitle##Homepage\##page\_parentAlias##home\##page\_parentTitle##Homepage\##page\_parentPageTitle##Homepage\##page\_folderUrl##home/\##page\_rootId##1\##page\_rootAlias##example-website\##page\_rootTitle##Example Website\##page\_rootPageTitle##Example Website\##page\_domain##\##page\_rootLanguage##en\##page\_rootIsPublic##true\##page\_rootIsFallback##true\##page\_rootUseSSL##\##page\_rootFallbackLanguage##en\##page\_trail##\[1\]\##page\_hasJQuery##1\##page\_hasMooTools##\##page\_isMobile##false\##page\_template##fe\_page\##page\_templateGroup##templates/example.com\##page\_outputFormat##html5\##pageTitle##Homepage### if, then, else

[](#if-then-else)

If you want to check for a condition inside your message, you can use the following example:

```
Association: {if form_association!=''}##form_association##
{else}unknown
{endif}

```

**Hints:**

{if form\_association!=''}

- must use no quote for the L-Value
- must have no space between the L-Value and the oparator
- must have no space between the operator and the R-Value
- the L-Value or R-Value represent the key within the token array $arrData\['form\_association'\] = 'heimrichhannot'

Using overridable haste\_plus properties
----------------------------------------

[](#using-overridable-haste_plus-properties)

You now have the option to use overridable properties available in [heimrichhannot/contao-haste\_plus](https://github.com/heimrichhannot/contao-haste_plus) also in this module. Simply add code similiar to the following to a "sendNotificationMessage"-Hook

```
public static function sendNotificationMessage(Message $objMessage, &$arrTokens, $strLanguage, $objGatewayModel)
{
    $arrTokens['overridableProperties'] = ['email_sender_address', 'email_sender_name', 'email_replyTo', 'email_subject'];
    $arrTokens['overridableEntities'] = [['tl_calendar_events', $intEventId]];
}

```

`$objEvent` is the entity in whose dca you called General::addOverridableFields() in order to add overridable fields from other dca's. Please see `General::addOverridableFields()` and `General::getOverridableProperty()` in [heimrichhannot/contao-haste\_plus](https://github.com/heimrichhannot/contao-haste_plus) for more details.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~55 days

Recently: every ~204 days

Total

57

Last Release

814d ago

PHP version history (3 changes)1.0.25PHP &gt;=5.4.0

1.0.28PHP ~5.4 || ~7.0

1.5.0PHP ~5.4 || ~7.0 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/28ad3224d8727b622ebd229840eea6b9dbcb83eb0bd609e6ce65b614830ff538?d=identicon)[digitales@heimrich-hannot.de](/maintainers/digitales@heimrich-hannot.de)

---

Top Contributors

[![koertho](https://avatars.githubusercontent.com/u/12064642?v=4)](https://github.com/koertho "koertho (12 commits)")

---

Tags

cssnotificationmodulecontaodeveloperinlinecenter

### Embed Badge

![Health badge](/badges/heimrichhannot-contao-notification-center-plus/health.svg)

```
[![Health](https://phpackages.com/badges/heimrichhannot-contao-notification-center-plus/health.svg)](https://phpackages.com/packages/heimrichhannot-contao-notification-center-plus)
```

###  Alternatives

[terminal42/notification_center

Notification Center extension for Contao Open Source CMS

68396.6k78](/packages/terminal42-notification-center)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
