Grav CMS

The plugin for Grav CMS enables sending SMS/voice calls as soon as a form is submitted.

Installation

Via the Grav Package Manager - preferred

The easiest way to install this plugin is through the Grav Package Manager (GPM) via your system's command line (Terminal). Enter this in the root directory of your Grav installation:

bin/gpm install sms77-form-notification

This will install the sms77 Form Notification Plugin in the /user/plugins directory of your Grav installation. The files are located under /path/to/grav/user/plugins/sms77-form-notification.

Manually - for experienced users

To install this plugin, simply download the zip version of this GitHub repository and unzip it under /path/to/grav/user/plugins. Then rename the folder to sms77-form-notification.

All plugin files should now be accessible under

/path/to/grav/user/plugins/sms77-form-notification

Configuration

YOUR_API_KEY

Insert your API key from seven.

enable_notification_user

If true, a message will be sent to the number specified in the phone_field.

enable_notification

If true, a message will be sent to the number specified in the to field.

enabled

Indicates whether the plugin is activated or not.

from

A custom sender, max. 16 numeric or 11 alphanumeric characters.

message

The message to be sent, use the placeholder to refer to the name of the submitted form.

msg_type

Indicates the message type, can be sms or voice.

phone_field

Determines the user's telephone field.

to

Specifies the recipient(s), separated by a comma.

user_response_msg

The message that is sent to the number specified in the "phone_field".

Last updated: 5 days ago