Skip to content

Instantly share code, notes, and snippets.

@ankedsgn
Created January 14, 2019 13:26
Show Gist options
  • Select an option

  • Save ankedsgn/6a468f7c9e843804b7577a67c7e342d6 to your computer and use it in GitHub Desktop.

Select an option

Save ankedsgn/6a468f7c9e843804b7577a67c7e342d6 to your computer and use it in GitHub Desktop.
how to customize boltforms
## Debugging
# OFF on global config! - to make sure it is enabled on PROD by default.
debug:
enabled: false
address: [email protected]
# TEMPLATES
# Custom for museon site, in the museon2019/templates folder
#
templates:
form: boltforms/form/form.twig
email: boltforms/email/email.twig
subject: boltforms/email/subject.twig
files: boltforms/file/browser.twig
form_theme: boltforms/form/_form_theme.twig
#FORM
# Contact Form : Set default to safe e-mail address
contact:
notification:
to_name: Test #Museon
to_email: [email protected] #[email protected]
# This is the local boltforms config for the DEV environment
#
# Dev: still only safe email adresses
debug:
enabled: true
address: [email protected]
contact:
notification:
to_name: Test #Museon
to_email: [email protected] #navragen bij Museon voor def emailadres
# -----------------------------------------------------
# This is the local boltforms config for the PROD environment
#
# PROD: Use the real e-mail address of client only here, and set debug to false
debug:
enabled: false # redundant for clarity and the sake of switching, because already set to false on global
address: [email protected]
contact:
notification:
to_name: Clientname
to_email: [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment