AndyB
Well-known member
In an add-on I'm creating for XF2 called 'Edit delete limit', I would like to be able to return an error message when the Edit link is clicked below a post and certain contions have been met. I have extended the actionEdit controller, but I'm not having any luck using the standard return error:
Is there any way to send an error message when extending the actionEdit method?
There are no error messages, I click the Edit link and nothing happens.
Thank you.
return $this->error(\XF::phrase('editdeletelimit_edit_time_limit_has_expired'));
Is there any way to send an error message when extending the actionEdit method?
There are no error messages, I click the Edit link and nothing happens.
Thank you.
Last edited: