Hello,
I'm trying to have error messages such as "Username already existing", "Passwords mismatch" etc. displayed to the user. First I thought ELGG didn't handle this and then I tried directy on elgg itself and could get an error message. So I know it's possible, but I have no idea how to activate it or what DOM is necessary for it to work ! Anyone knows ?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Lyth_o@lyth_o

Lyth_o - 0 likes
- ihayredinov@ihayredinov

ihayredinov - 0 likes
You must log in to post replies.I have found what I need.
$messages = elgg_view('page/elements/messages', array('object' => $vars['sysmessages']));
That will retrieve the messages saved with register_error and system_message.
Sorry for asking. Hope it helps someone.
If you don't see system messages, your theme must have modified the page shell. I would look there first.