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 classes associated to your module generation : the
configuration and the helper. Find the correct place for your
piece of code, and override the appropriate method
Good luck ;)
Le 11/08/10 14:00, cosmy a écrit :
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 the new action of
category module, isn't it?)
On 10 Ago, 22:14, Alexandre Salomé<[email protected]> wrote:
You can override templates. For example, a module :
post/
config/
generator.yml
templates/
-- your templates
Copy/paste files from the module, generated in the cache to your module
folder.
See the Reference Guide and documentations for more informations about admin
generator templates.
2010/8/10 Cosimo Zecchi<[email protected]>
Hi all,
if I want to change the view of the backend modules, how do i do.
There's only the layout template, but i want to add slots for every module
to realize an interactive menu.
Thank you in advance and sorry for my poor english
Cosimo Zecchi
P.IVA: 02035150974
[email protected]
tel. 3475851188
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]<symfony-users%2bunsubscr...@goog
legroups.com>
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
--
Alexandre Saloméhttp://alexandre-salome.fr
--
---
Alexandre Salomé - http://alexandre.salome.fr
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en