[symfony-users] Re: Change backend module views

2010-08-14 Thread cosmy
I've managed the problem without modifying the business and the actions, in this way: I've edited the editSuccess.php of the category backend module, saving the category id and name in the user session. So every time i save a category if it's successfull it goes to edit page and the page add it to

Re: [symfony-users] Re: Change backend module views

2010-08-11 Thread Alexandre Salomé
There are multiple answers to this problem : * If it's business question, define this behavior in your model * If it's action processing, define it in your form (overriding the doSave() method) * And if there is no other solution, take a look at generated code. You have 2 clas

[symfony-users] Re: Change backend module views

2010-08-11 Thread cosmy
Thank you a lot.. and if i want to override the behaviour of one action in the backend? (I want to save as user attributes a category (it is a module) id and name when it is saved in the backend, to take trace of what the user id doing in the menu. I think the best way is to add this attributes in