2025-07-12 16:45:24 +02:00
|
|
|
name: Listmonk
|
|
|
|
|
slug: listmonk
|
|
|
|
|
type: plugin
|
|
|
|
|
version: 0.1.0
|
2025-07-13 10:36:58 +02:00
|
|
|
description: Listmonk integration for GravCMS. Currently only adding subscribers to lists is implemented. Sending transactional emails are coming soon.
|
2025-07-12 16:45:24 +02:00
|
|
|
icon: circle-o
|
|
|
|
|
author:
|
|
|
|
|
name: magdev
|
|
|
|
|
email: magdev3.0@gmail.com
|
|
|
|
|
keywords: grav, plugin, email, listmonk, newsletter
|
|
|
|
|
license: MIT
|
2025-07-13 10:36:58 +02:00
|
|
|
homepage: https://src.bundespruefstelle.ch/magdev/grav-plugin-listmonk
|
|
|
|
|
bugs: https://src.bundespruefstelle.ch/magdev/grav-plugin-listmonk/issues
|
|
|
|
|
|
2025-07-12 16:45:24 +02:00
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
|
- { name: grav, version: '>=1.7.0' }
|
|
|
|
|
|
|
|
|
|
form:
|
|
|
|
|
validation: loose
|
|
|
|
|
fields:
|
|
|
|
|
tabs:
|
|
|
|
|
type: tabs
|
|
|
|
|
active: 1
|
|
|
|
|
class: subtle
|
|
|
|
|
|
|
|
|
|
fields:
|
|
|
|
|
options:
|
|
|
|
|
type: tab
|
|
|
|
|
title: PLUGIN_LISTMONK.OPTIONS
|
|
|
|
|
fields:
|
|
|
|
|
enabled:
|
|
|
|
|
type: toggle
|
|
|
|
|
label: PLUGIN_ADMIN.PLUGIN_STATUS
|
|
|
|
|
highlight: 1
|
|
|
|
|
default: 0
|
|
|
|
|
options:
|
|
|
|
|
1: PLUGIN_ADMIN.ENABLED
|
|
|
|
|
0: PLUGIN_ADMIN.DISABLED
|
|
|
|
|
validate:
|
|
|
|
|
type: bool
|
|
|
|
|
api.hostname:
|
|
|
|
|
type: text
|
|
|
|
|
label: PLUGIN_LISTMONK.HOSTNAME
|
|
|
|
|
help: PLUGIN_LISTMONK.HOSTNAME_HELP
|
|
|
|
|
placeholder: PLUGIN_LISTMONK.HOSTNAME_PLACEHOLDER
|
|
|
|
|
size: medium
|
|
|
|
|
validate:
|
|
|
|
|
type: string
|
|
|
|
|
api.username:
|
|
|
|
|
type: text
|
|
|
|
|
label: PLUGIN_LISTMONK.USERNAME
|
|
|
|
|
help: PLUGIN_LISTMONK.USERNAME_HELP
|
|
|
|
|
placeholder: PLUGIN_LISTMONK.USERNAME_PLACEHOLDER
|
|
|
|
|
size: small
|
|
|
|
|
validate:
|
|
|
|
|
type: string
|
|
|
|
|
api.token:
|
|
|
|
|
type: text
|
|
|
|
|
label: PLUGIN_LISTMONK.TOKEN
|
|
|
|
|
help: PLUGIN_LISTMONK.TOKEN_HELP
|
|
|
|
|
placeholder: PLUGIN_LISTMONK.TOKEN_PLACEHOLDER
|
|
|
|
|
size: medium
|
|
|
|
|
validate:
|
|
|
|
|
type: string
|
|
|
|
|
|
|
|
|
|
newsletter:
|
|
|
|
|
type: tab
|
|
|
|
|
title: PLUGIN_LISTMONK.NEWSLETTER
|
|
|
|
|
fields:
|
|
|
|
|
newsletter.list:
|
|
|
|
|
type: integer
|
|
|
|
|
label: PLUGIN_LISTMONK.NEWSLETTER_LIST_ID
|
|
|
|
|
help: PLUGIN_LISTMONK.NEWSLETTER_LIST_ID_HELP
|
|
|
|
|
size: small
|
|
|
|
|
validate:
|
|
|
|
|
type: number
|
|
|
|
|
min: 1
|
|
|
|
|
newsletter.subscriber.status:
|
|
|
|
|
type: select
|
|
|
|
|
multiple: false
|
|
|
|
|
size: medium
|
|
|
|
|
data-options@: 'Grav\Plugin\Listmonk\Model\NewsletterStatus::getNewsletterStatusList'
|
|
|
|
|
label: PLUGIN_LISTMONK.NEWSLETTER_STATUS
|
|
|
|
|
help: PLUGIN_LISTMONK.NEWSLETTER_STATUS_HELP
|
|
|
|
|
validate:
|
|
|
|
|
type: string
|
|
|
|
|
newsletter.subscriber.attributes:
|
|
|
|
|
type: textarea
|
|
|
|
|
size: large
|
|
|
|
|
label: PLUGIN_LISTMONK.NEWSLETTER_ATTRIBUTES
|
|
|
|
|
help: PLUGIN_LISTMONK.NEWSLETTER_ATTRIBUTES_HELP
|
|
|
|
|
placeholder: '{"attribute": "value"}'
|
|
|
|
|
validate:
|
|
|
|
|
type: string
|