File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Installation steps
14
14
15
15
Run the following from your website root folder to install Netgen InformationCollection Bundle:
16
16
17
- ```
17
+ ``` bash
18
18
$ composer require netgen/information-collection-bundle
19
19
```
20
20
@@ -37,7 +37,7 @@ public function registerBundles()
37
37
Here is sample configuration for actions, the developer will need to define a list of actions to be run depending on the content type.
38
38
Configuration needs to be added in ` app/config/config.yml ` or ` app/config/ezplatform.yml ` :
39
39
40
- ``` yml
40
+ ``` yaml
41
41
netgen_information_collection :
42
42
system :
43
43
default :
@@ -53,22 +53,22 @@ netgen_information_collection:
53
53
54
54
Define fallback values for email, in case if content type does not have them defined:
55
55
56
- ` ` `
56
+ ` ` ` yaml
57
57
netgen.default.information_collection.email.recipient :
' [email protected] '
58
58
netgen.default.information_collection.email.subject : ' Subject'
59
59
netgen.default.information_collection.email.sender :
' [email protected] '
60
60
` ` `
61
61
62
62
Also define email templates for content types:
63
63
64
- ` ` `
64
+ ` ` ` yaml
65
65
netgen.default.information_collection.email.ng_feedback_form : ' AcmeBundle:email:ng_feedback_form.html.twig'
66
66
netgen.default.information_collection.email.some_other_form : ' AcmeBundle:email:some_other_form.html.twig'
67
67
` ` `
68
68
69
69
And fallback email template:
70
70
71
- ` ` `
71
+ ` ` ` yaml
72
72
netgen.default.information_collection.email.default : ' AcmeBundle:email:default.html.twig'
73
73
` ` `
74
74
You can’t perform that action at this time.
0 commit comments