I want to add an option to export user data according to the GDPR for each user in my Sylius project.
This should be a new option on the user control panel There should be a button 'export' next to the save button.
But I am a bit confused how to do this within the sylius system. I have an ExportController, that fetches the user data by the user and sends the generated PDF via mail.
But how can I add overwrite this template and add the button, linking to the controller?
解决此问题,必须检查调试栏以找到正确的模板(Account / profileUpdate.html.twig),复制其内容并在模板文件夹中创建其新版本
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.