2015-09-13 18:32:44 +00:00
|
|
|
enabled: true
|
2017-12-02 01:53:07 +00:00
|
|
|
pingbacks: true
|
|
|
|
commenting: true
|
2017-12-06 01:03:12 +00:00
|
|
|
akismet_enabled: true
|
|
|
|
warning_message: ""
|
2015-10-15 16:04:02 +00:00
|
|
|
|
|
|
|
enable_on_routes:
|
|
|
|
- '/blog'
|
|
|
|
|
|
|
|
disable_on_routes:
|
|
|
|
- /blog/blog-post-to-ignore
|
|
|
|
- /ignore-this-route
|
|
|
|
|
2015-10-13 21:39:13 +00:00
|
|
|
form:
|
|
|
|
name: comments
|
|
|
|
fields:
|
|
|
|
- name: name
|
2016-03-24 08:03:25 +00:00
|
|
|
label: PLUGIN_COMMENTS.NAME_LABEL
|
|
|
|
placeholder: PLUGIN_COMMENTS.NAME_PLACEHOLDER
|
2015-10-13 21:39:13 +00:00
|
|
|
autocomplete: on
|
|
|
|
type: text
|
|
|
|
validate:
|
|
|
|
required: true
|
|
|
|
|
|
|
|
- name: email
|
2016-03-24 08:03:25 +00:00
|
|
|
label: PLUGIN_COMMENTS.EMAIL_LABEL
|
|
|
|
placeholder: PLUGIN_COMMENTS.EMAIL_PLACEHOLDER
|
2015-10-13 21:39:13 +00:00
|
|
|
type: email
|
|
|
|
validate:
|
|
|
|
required: true
|
|
|
|
|
2017-12-02 01:53:07 +00:00
|
|
|
- name: blah
|
2017-12-06 01:03:12 +00:00
|
|
|
label: PLUGIN_COMMENTS.SITE_LABEL
|
2017-12-02 01:53:07 +00:00
|
|
|
placeholder: "https://leetnightshade.com"
|
|
|
|
type: text
|
|
|
|
validate:
|
|
|
|
required: false
|
|
|
|
|
2015-10-13 21:39:13 +00:00
|
|
|
- name: text
|
2016-03-24 08:03:25 +00:00
|
|
|
label: PLUGIN_COMMENTS.MESSAGE_LABEL
|
|
|
|
placeholder: PLUGIN_COMMENTS.MESSAGE_PLACEHOLDER
|
2015-10-13 21:39:13 +00:00
|
|
|
type: textarea
|
|
|
|
validate:
|
|
|
|
required: true
|
|
|
|
|
|
|
|
- name: date
|
|
|
|
type: hidden
|
|
|
|
process:
|
|
|
|
fillWithCurrentDateTime: true
|
|
|
|
|
|
|
|
- name: title
|
|
|
|
type: hidden
|
|
|
|
evaluateDefault: grav.page.header.title
|
|
|
|
|
|
|
|
- name: lang
|
|
|
|
type: hidden
|
|
|
|
evaluateDefault: grav.language.getLanguage
|
|
|
|
|
|
|
|
- name: path
|
|
|
|
type: hidden
|
|
|
|
evaluateDefault: grav.uri.path
|
|
|
|
|
2017-12-02 01:53:07 +00:00
|
|
|
- name: blockme
|
|
|
|
type: honeypot
|
|
|
|
|
2015-12-12 13:28:10 +00:00
|
|
|
# - name: g-recaptcha-response
|
|
|
|
# label: Captcha
|
|
|
|
# type: captcha
|
2017-04-14 14:19:33 +00:00
|
|
|
# recaptcha_site_key: e32iojeoi32jeoi32jeoij32oiej32oiej3
|
2015-12-12 13:28:10 +00:00
|
|
|
# recaptcha_not_validated: 'Captcha not valid!'
|
|
|
|
# validate:
|
|
|
|
# required: true
|
|
|
|
# process:
|
|
|
|
# ignore: true
|
2015-10-13 21:39:13 +00:00
|
|
|
|
|
|
|
buttons:
|
|
|
|
- type: submit
|
2016-03-24 08:03:25 +00:00
|
|
|
value: PLUGIN_COMMENTS.SUBMIT_COMMENT_BUTTON_TEXT
|
2015-10-13 21:39:13 +00:00
|
|
|
|
|
|
|
process:
|
2017-02-26 21:05:26 +00:00
|
|
|
# - captcha:
|
2017-04-14 14:19:33 +00:00
|
|
|
# recaptcha_secret: ej32oiej23oiej32oijeoi32jeio32je
|
2015-10-16 15:17:44 +00:00
|
|
|
- email:
|
2016-03-24 08:03:25 +00:00
|
|
|
subject: PLUGIN_COMMENTS.EMAIL_NEW_COMMENT_SUBJECT
|
2015-10-16 15:17:44 +00:00
|
|
|
body: "{% include 'forms/data.html.twig' %}"
|
2015-10-13 21:39:13 +00:00
|
|
|
- addComment:
|
2016-03-24 08:03:25 +00:00
|
|
|
- message: PLUGIN_COMMENTS.THANK_YOU_MESSAGE
|
2016-06-30 09:41:12 +00:00
|
|
|
- reset: true
|
2015-10-13 21:39:13 +00:00
|
|
|
|
|
|
|
|