Gobb
Member
Hey guy,
So I've got as far as the inline moderation popping up with the content I'm selecting and I have been able to add my custom actions which then open up the overlay form. However, I am really struggling complete the updates once the overlay form is posted. I've looked over the XenForo files a bunch but am just going in circles.
My main issue is the ids hidden input field in the form are the ids of the content I want updated, but I can't see how this can be done as I don't understand what the entity value is in the function applyToEntity(Entity $entity, array $options) or how I can use this to update the data. Should I even be trying to do it this way, or just simply make the inline mod overlay post to a standard controller and update the data that way? That seems like it would be a lot simpler.
Thanks.
So I've got as far as the inline moderation popping up with the content I'm selecting and I have been able to add my custom actions which then open up the overlay form. However, I am really struggling complete the updates once the overlay form is posted. I've looked over the XenForo files a bunch but am just going in circles.
My main issue is the ids hidden input field in the form are the ids of the content I want updated, but I can't see how this can be done as I don't understand what the entity value is in the function applyToEntity(Entity $entity, array $options) or how I can use this to update the data. Should I even be trying to do it this way, or just simply make the inline mod overlay post to a standard controller and update the data that way? That seems like it would be a lot simpler.
Thanks.