Brandon Kelly

Apr  6, 2008

Snitch for ExpressionEngine

Snitch is an extension that overrides ExpressionEngine’s built-in notification system. It sends notifications when entries are created, updated, and deleted, and enables you to customize the e-mail template. It uses the same per-weblog Notification Preferences that the built-in notification system use, so setup is quick and painless.

Here is what Snitch’s Settings look like:

Snitch Settings

Installation Instructions

  1. Download the latest version (below)
  2. Upload ext.snitch.php to system/extensions/
  3. Upload lang.snitch.php to system/language/english/
  4. Enable Snitch in the Extensions Manager

E-mail Template Variables

The following variables are available both to the E-mail Subject Template and the E-mail Message Template:

{action}
the action that just took place (“created”, “updated”, or “deleted”)
{email}
the e-mail address of the user that performed the action
{entry_id}
{entry_status}
the status of your entry (“open” or “closed”)
{entry_title}
{name}
the username of the user that performed the action
{url}
the full URL: {weblog_url}+{url_title} (only shows if both URLs are set)
{url_title}
{weblog_name}
{weblog_url}

Troubleshooting

There are three Preference areas that effect Snitch:

  1. Snitch Settings in Admin › Utilities › Extensions Manager
  2. E-mail Configuration in Admin › System Preferences
  3. Notification Preferences in Admin › Weblog Administration › Weblog Management › Edit Preferences (each weblog has its own)

If you’re not receiving notifications, be sure to check all three areas.