Mollom Module
Maintainer Contact
-
Saophalkun Ponlu
, (*1)
-
Will Rossiter
, (*2)
Requirements
Installation
Extract all files into the 'mollom' folder under your Silverstripe root, or install using composer, (*3)
composer require silverstripe/mollom dev-master
If the mollom module causes an error in composer it may be necessary to explicitly add the
git url to your composer.json, (*4)
composer.json, (*5)
{
"repositories": [
{
"type": "git",
"url": "https://github.com/Mollom/MollomPHP.git"
}
]
}
Configuration
This module provides a FormField and SpamProtector classes for integration with
the SpamProtection module in SilverStripe. Consult that module documentation for
more information on how to setup and enable Mollom on your Forms., (*6)
To configure the use of this protector, use the Config API. You will also
need to sign up to Mollom to get API keys for
the website. Those should also been included through the Config API, (*7)
mysite/_config/spamprotection.yml, (*8)
---
name: spamprotection
---
FormSpamProtectionExtension:
default_spam_protector: MollomSpamProtector
Mollom:
public_key: <key>
private_key: <key>