hypeattachements

By objet

i'am traying to add a code for sending attachements in private message but message arrive whithout attachments i saw read me for attachments this is de code.

<?php echo elgg_view('input/attachments', [ 'name' => 'message_attachments', ]); ?>
<?php echo elgg_view('output/attachments', [ 'entity' => $entity, ]); ?>

i add it in messages/send.php in plugin of message, i don't know if i made a mistake or not see the readme for attachements bottom To add an attachments input to your personal messages and replies forms, use the following code. You will not need to add any code to your save action. ```php echo elgg_view('input/attachments', [ 'name' => 'message_attachments', ]);