Allow customizing the new-user greeting email via an external template directory
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
There are some questions in the support forum about how to change the greeting email. The answer: not, or with a purchased app.
I have a suggestion as to how to change this without changing a file in the installation that would be overwritten with the next update.
There is one item that I can change: the skeleton, the folders, files and messages that are written to the area of newly created users. For this there is the variable ‘skeltondirectory’ in the config.php, which points to a folder outside the installation. Ideally into the administrator’s folder, so that he can edit this folder directly.
Why not introduce a variable called ‘greetingmaildirectory’ that does the same for the greeting email. The folder could contain an “html” file with
<html>
<p>
Example text
</p>
</html>
This page could be edited as desired and is then used as the body for the greeting email.
Spielmops
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the new-user greeting email implementation and the config.php handling for the skeleton directory. Define how an external greeting-mail directory and its HTML template should be selected, then verify that customized content is used without modifying files in the installation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100