Suppose a person write on community wall, it stores data in wall and engagement table. I want that data also gets stored in another table. May I know which file do I need to edit for adding code related to insertion of record in one more table?
File which you had mentioned is wrong. I had identified right file. It is components/com_community/controllers/system.php . ajaxStreamAddComment() gets called when adding comment on jom-social stream. I had added my code there for writing into another table. Now, an alert appears with message "Undefined error." . Please let me know the issue.