How to Use Drupal Message Notifications

Using Drupal Message Notifications

An OSTraining member asked us how to set up message notifications in Drupal. This allows you to control the messages sent to your site’s users.

These messages are used for everything from letting authors know about comments on their articles, to notifying customers about purchases in Drupal Commerce.

Once you install the required modules, you will notice a working notification example already exists, making the setup process easier.

For this tutorial, you will need to download, install and enable the following modules:

Go to modules and be sure to enable the “message notify example” as well:

1

  • Navigate back to the site. You should see in the Navigation tools a new option labeled as “message notify example”.
  • Click on there to view the messages.

2

  • Let’s add some content, so we can confirm is working.
  • Add a comment to the content.

3

You can view here the messages log.

4

Let’s look at how it works. In your admin area, under “Structure” you can see a new tab called message types.

5

Here we can create message types, edit, or clone the existing example.

Author

0 0 votes
Article Rating
Subscribe
Notify of
guest

2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
davidmcmurrey
3 years ago

Hello, Daniel. It’s me David McMurrey. I am trying to enable students (and myself)n to receive notification when someone comments on one of their nodes.

I have message, message notify, message example, and message notify example installed. I have Message notifications as link to message notify under Tools on the front page but not working. But I get an error: The website encountered an unexpected error. Please try again later.

— David

Rod Martin
3 years ago
Reply to  David McM

Hi David,
what version of Drupal are you using, please?  This post is almost 6 years old and may not work as expected.
Rod

2
0
Would love your thoughts, please comment.x
()
x