1
votes

I am working with Symfony 2 and sonata admin bundle.

I have an entity "affaire", all users (admin, employee, ect) can add "comments" What I want to be able to do is to have a button in the list of affaire (in every row) that says 'comment' for example and when you click on it it direct you to the list of comments related to this affaire with possibility to add a comment for example. How can I do that? any idea or tips?

1

1 Answers

1
votes

If you go to Sonata Sandbox project, you will find News Bundle that has this functionality on Posts. You even get a vertical tab to list all comments related to Post while editing it.