Hi Community Folks,
I have a scenario in which I have to pass some custom data based on user's properties to welcome email template in nodebb. How can I achieve this ?
Is there any hook to perform custom steps, I need to change some text in .tpl file. I am using
sed command to perform replacement, this step need to be placed before "nodebb build", and another replacement using
sed need to be placed after "nodebb build". So I need the hooks, or is there any way to modify source code to get the same results? Thanks in advance.
If all you need to change is a template file, you can just edit the template file stored in
build/public/templates in the
static:app.load hook. Since templates are compiled on demand, this will work as long as
./nodebb build is run afterwards.