in the file status.php of the wall I have this to validate the message
$ footer. = elgg_view_field ([
'#type' => 'fieldset',
'align' => 'horizontal',
'justify' => 'right', // button and selection Post valdation of the wall message
'fields' => [
[
'#type' => 'access',
'name' => 'access_id',
'value' => $ entity? $ entity-> access_id: get_default_access (),
'class' => 'wall-access',
]
[
'#type' => 'submit',
'value' => elgg_echo ('wall: post'),
]
]
]);
the submit type button reboots to Post;
I would like to know where I can find the Post code.
I look in the file post.php but it is not there that I am redirected
can you help me thanks
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.
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- jmperu@jmperu
jmperu - 0 likes
Hello, OK that's what I found but the validation and the appearance of the message is only for the first and then we must refresh the page to see the message in this file I put traces and they only appeared for loading old messages but not to the validation of the new message that I wanted to convey do you have a solution? cordially
You must log in to post replies.https://github.com/hypeJunction/hypeWall/blob/master/classes/hypeJunction/Wall/Post.php