pd-user icon indicating copy to clipboard operation
pd-user copied to clipboard

Template for emailing

Open xorgxx opened this issue 5 years ago • 9 comments

Hi i gest it's me how deed not setup well, but i have probleme with email template.

i have field all template and i still receive email empty?

all my template are in project templates/member/Auth and i have setup in user.yaml template_path: 'member/Auth

??? thank for helping

xorgxx avatar Jul 11 '20 08:07 xorgxx

I think the author has to change row 356 of SecurityController.php to honor config variable template_path

n-tsvetkov-krez avatar Jul 14 '20 10:07 n-tsvetkov-krez

Copy the resources/views directory to your own resources directory. Then enter the new template path with the template_path property. Here I would fix an issue that prevents using this feature.

https://github.com/appaydin/pd-user/commit/3e55ff896d78b7a157c51a3f081f94cb0dca592f

cesurapp avatar Jul 14 '20 17:07 cesurapp

thank, will try tomorrow

xorgxx avatar Jul 14 '20 21:07 xorgxx

since to be functional.

i have one request to try to be move "urban" can you put the name and last name in :

                // Send Confirmation Email
                $emailBody = [
                    'confirmationUrl' => $this->generateUrl('security_register_confirm',
                        ['token' => $user->getConfirmationToken()],
                        UrlGeneratorInterface::ABSOLUTE_URL),
                ];
                $this->sendEmail($user, $mailer, 'Account Confirmation', $emailBody, 'register');
            } elseif ($this->getParameter('welcome_email')) {
                // Send Welcome
                $this->sendEmail($user, $mailer, 'Registration Complete', 'Welcome', 'welcome');
            }

maybe in all sending email to the client.

Thank

xorgxx avatar Jul 15 '20 08:07 xorgxx

+++ just see now - subject of email as to be possible to translate, there no possibility to do this ?

xorgxx avatar Jul 15 '20 08:07 xorgxx

are to put logo inside ?

xorgxx avatar Jul 15 '20 08:07 xorgxx

If you can develop for logo and translation. I can confirm.

Or you can overwrite and use this function.

cesurapp avatar Jul 17 '20 16:07 cesurapp

sorry, i deed not get you?

xorgxx avatar Jul 18 '20 07:07 xorgxx

so i deed all! put in pull request. and delete ? what was the problem ??? second time you deed delete.

xorgxx avatar Jul 25 '20 19:07 xorgxx