Timeline for Where can I find documentation on built-in flash message for `users/save-user`?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 20, 2022 at 19:36 | history | edited | James White | CC BY-SA 4.0 |
Wrong function when called with $this with a controller
|
Jul 20, 2022 at 19:35 | comment | added | James White | @Vann Ah right, easiest way to find that would be the code. The controller can be found: github.com/craftcms/cms/blob/develop/src/controllers/…, if for Craft CMS 4, change develop to v3 in the URL for Craft CMS 3, then look for the actionSaveUser function, then where there are setFailFlash() and setSuccessFlash(), those are the flash messages being displayed at various stages and conditions. | |
Jul 19, 2022 at 22:08 | comment | added | Yann |
Maybe I didn't ask my question clearly enough, sorry… What I'm trying to find out is what flash messages are sent by a form using users/save-user by default. Do I need to find the related controller and dig through the code or is it documented somewhere? I'm more of a frontend person, so I'm not super clear on where to find that controller… But I'll try to dig in the code. Thanks!
|
|
Jul 19, 2022 at 7:03 | history | answered | James White | CC BY-SA 4.0 |