You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/01_configuration.md
+6-14Lines changed: 6 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,14 @@
1
1
---
2
-
title: Installation
2
+
title: Configuration
3
3
---
4
4
5
-
# Installation
6
-
7
-
Installation should be done using Composer:
8
-
9
-
```bash
10
-
composer require silverstripe/userforms
11
-
```
12
-
13
-
## Configuration
5
+
# Configuration
14
6
15
7
After installation, make sure you rebuild your database through `sake db:build --flush`.
16
8
17
9
You should see a new page type in the CMS called "User Defined Form". This has a new "Form" tab which has your form builder.
18
10
19
-
###File uploads and security
11
+
## File uploads and security
20
12
21
13
The module allows adding a "File Upload Field" to a form.
22
14
The field enables users of this form to upload files to the website's assets
@@ -32,7 +24,7 @@ configuration setting.
32
24
The allowed upload size can be set in the CMS as long as it doesn't exceed the PHP configuration
33
25
for this website (the smaller value of `upload_max_filesize` or `post_max_size`).
34
26
35
-
###Securing uploaded files
27
+
## Securing uploaded files
36
28
37
29
By adding a File Upload Field to your user form you can allow your website users to upload files, which will be stored in a user-defined folder in your Silverstripe CMS system. You can access these files via the "Submissions" tab, or from the "Files" area in the admin interface.
38
30
@@ -44,7 +36,7 @@ You should think carefully about the use case for file uploads.
44
36
Unauthorised viewing of files might be desired, e.g. submissions for public competitions.
45
37
In other cases, submissions could be expected to contain private data.
46
38
47
-
###Custom email templates
39
+
## Custom email templates
48
40
49
41
If you want to use custom email templates set the following config option.
0 commit comments