How to Setup Mollom on Drupal 8

Parent Feed: 

An OSTraining member asked how to set up the Drupal 8 "Mollom" module.

In this tutorial, I'll show you how to go through the process of its installation and setting up.

If you are using Drupal 7 we have the How to use the Mollom Module in Drupal 7 class that covers how to do this in detail.

Let's get started.

  • First, install and enable the module.

01

  • Select Configure

02

If you haven't already, you will need to register with Mollom web site. Ssince this is a tutorial, I will walk you through the process of the registration. 

  • Once on Mollom web site, please click on the "Pricing & Sign-up"
  • Select an account type. For the purpose of this tutorial I'm going to select the "Molom Free" personal account. The level of account you need really will depend on the site and on how much support you will need.

03

Once registered, you will receive an email prompting you to finish the registration process.

  • Enter the URL you expect to use for the site once finished.
  • Select expected language for the site. This can be helpful to filter messages in other languages that you don't want.
  • Select the type of software your site is using, - "Drupal" in this case.
  • Tick the terms and condition chekbox and click on the "Next" green button.

04

Now we need to access the site manager and copy the keys into the Drupal configuration. In the top right corner you should see 'Manage sites' link.

  • Select "Manage sites"

05

  • Select "View"

Now you should see the information and statistics of the site.

06

  • Copy both the public and private keys into your Drupal configuration page.
  • Enabling testing mode here will allow you to check your forms. This is optional but I would advise you test your "Mollom" module before launching it on a production site.
  • Click on the "Save configuration" button.
  • Now that we have successfully set up our "Mollom" module, we need to tell it which forms data input to monitor. We can access our "Mollom" settings by going to "Reports" -> "Mollom Statistics" -> "Forms" tab and clicking on the "Add Form"

07

  • Once you have selected a form, the configuration options will appear to give you access to more specific details related to the type of your form. This allows us to be more strict on some of the forms and even the option to hold submissions for moderator approval. For this tutorial, I will just use the default settings applied to the sitewide contact form and click on the "Create protected Mollom Form" button.  

08

To verify the form, please visit the page and you should see the following message:

09

You can disable this notification message when you take your site live, - simply select the checkbox located on the module settings page.

Congratulations! You just learned how to install and configure "Mollom" module for Drupal 8 web site.

Are you new to Drupal? If Yes, then please watch our completely free "Drupal Beginner Class", which leads you step by step through the process of building a Drupal site.


About the author

Daniel is a web designer from UK, who's a friendly and helpful part of the support team here at OSTraining.

Original Post: 

About Drupal Sun

Drupal Sun is an Evolving Web project. It allows you to:

  • Do full-text search on all the articles in Drupal Planet (thanks to Apache Solr)
  • Facet based on tags, author, or feed
  • Flip through articles quickly (with j/k or arrow keys) to find what you're interested in
  • View the entire article text inline, or in the context of the site where it was created

See the blog post at Evolving Web

Evolving Web