-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to add custom welcome template
This adds the ability to add a custom welcome template. It works by simply adding a custom folder in the templates directory and putting a email/html/welcome.html.twig and email/text/welcome.txt.twig there (as you can read in the README).
- Loading branch information
Showing
2 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,6 +51,14 @@ Go to `http://localhost:8080/` and you should be greeted by the MijnRood login p | |
You can log in with `[email protected]` as email, and `admin` as password. | ||
Look at `src/DataFixtures/` to see an overview of all test data, including other accounts. | ||
|
||
## Extra configuration | ||
|
||
### Custom welcome mail | ||
|
||
To add a custom welcome email, put the two templates (html and plain text) in: | ||
|
||
`templates/custom/email/welcome.html.twig` and `templates/custom/email/welcome.html.txt` | ||
|
||
## Contributing | ||
|
||
You can generate new migrations with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters