drawlusyk
(Drawlusyk)
June 20, 2014, 3:20pm
1
Has anyone experience in overriding/customizing the mail out for Dektrium signup?
I have the registration views customized but not the mailouts.
http://yii2-user.readthedocs.org/en/latest/basics/overriding-views.html
As the mailout is not a standard ‘view’ i imagine that it may not go through the same way of getting processed?
Regards,
Dennis
paskuale
(Pellicanipasquale)
June 24, 2014, 8:22pm
2
Hi - I am wondering if anyone ever found a solution to this issue. Although I have used the process outlined in the dektrium docs to override other views, I too am unable to use the same steps to override the mail views.
Please let me know if there is a solution for this.
Thank you.
necrox87
(Necrox87)
March 18, 2016, 11:27am
4
Hi, try to override Mailer.php "viewPath" from config like this:
'components' => [
...
'mailer' => [
'viewPath' => '@frontend/views/user/mail'
],
],
Hi - I am wondering if anyone ever found a solution to this issue. Although I have used the process outlined in the dektrium docs to override other views, I too am unable to use the same steps to override the mail views.
Please let me know if there is a solution for this.
Thank you.
softark
(Softark)
March 18, 2016, 1:16pm
5
[color="#006400 "]/* Moved from "General Discussions" to "Extensions" */[/color]
necrox87
(Necrox87)
June 22, 2016, 1:26pm
6
For me this works well:
'modules' => [
'user' => [
'class' => 'dektrium\user\Module',
'mailer' => [
'viewPath' => '@frontend/views/user/mail',
],
],
],