BentoHook
bentohook
About
A FormIt hook for [Bento email marketing](https://bentonow.com/).
Installation & usage
## System Settings
- bentohook.secret-key: Secret Key from Bento
- bentohook.publishable-key: Publishable Key from Bento
- bentohook.site-uuid: Site UUID from Bento
## Usage
### FormIt
To add a Bento subscription to a FormIt form, add the `BentoHook` hook to the form.
```html
[[!FormIt?
&hooks=`BentoHook`
```
Additional parameters can be passed to the hook to customize the subscription.
```html
[[!FormIt?
&hooks=`BentoHook`
&bentoEmail=`email` // The email field name
&bentoOptin=`optin` // An optin field name
&bentoOptout=`optout` // An optout field name
&bentoFields=`beno_field_label==formit_field_name` // Custom fields to send to Bento
```
### Profiles
To check if use logged in user is subscribed to Bento, use the `BentoHook` snippet.
```html
[[!BentoCheckList
&email=`test@example.com` // The email to check
&inListTpl=`inListTpl` // Chunk to display if user is subscribed
¬InListTpl=`notInListTpl` // Chunk to display if user is not subscribed
]]
```
At a glance
MODX 3 compatibility unknown. Based on our testing and community reports where available.
- Developer matdave
- Latest release December 19, 2024 (1 year ago)
- First seen in SiteDash December 19, 2024 (1 year ago)
- License MIT
- MODX support 3.0 – 100.0
| Changelog | |||
|---|---|---|---|
| MODX.com |
1.0.0-pl |
December 19, 2024
1 year ago |
|
|
Initial release
|
|||
|
No matching releases. |
|||