Required templates changes when upgrading to Newscoop 4.3
When upgrading Newscoop from 4.2.3/4.2.4 to 4.3, email templates needs to be adjusted as described below.
All changes are related only to emails templates:
- email_confirm.tpl (fixed example here)
- email_comment-notify.tpl (fixed example here)
- email_password-restore.tpl (fixed example here)
What has changed?
- $publication has been replaced by $site
- $user is MetaUser object now, before it was only user identifier
- {{ $view->placeholder('subject')->set(sprintf("E-mail confirmation at %s", $site)) }} has been replaced by {{ set_placeholder subject=sprintf("Restore password at %s", $site) }}
All changes should be made to your current theme. You can also make modifications using Themes management in Admin Panel (http://www.example.com/admin/themes).
If there are more custom emails templates using the old schema we also recommend to change them.