Commit 37b89724 authored by Tobias Munk's avatar Tobias Munk Committed by GitHub

Merge pull request #3 from soapbubbbbles/master

New docu for contact forms
parents 77373676 1ab5415b
......@@ -14,6 +14,7 @@
- [Widget Templates](frontend-developer/module-widget-template.md)
- [Twig Layouts](frontend-developer/module-prototype-twig.md)
- [Settings](frontend-developer/module-settings.md)
- [Contact Forms](frontend-developer/modul-contact.md)
#### Admin
......
## How to create a new form
### Step 1
Create Form in Settings. This 5 seetings are needed:
`name.schema`
`name.confirmMail`
`name.fromEmail`
`name.subject`
`name.toEmail`
### Step 2
Define Layout in Twig Layouts. You will need `contact:name` and `contact:name:send`
### Step 3
Create a new `availableRoute` with the name `/contact/default/index`
### Step 4
Create a new Page in **Pages** and choose the Route `/contact/default/index`
and additional create a object in the Advanced section: `schema:name`
### Step 5
Create a new authorization (Berechtigung) with the name `contact_default_index`
und assign it to the `public user`
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment