symfony
symfony forum
Home » support » General discussion » Admin Generator: how to disable interaction
Admin Generator: how to disable interaction [message #34154] Fri, 24 August 2007 18:38 Go to next message
sfxpt  is currently offline sfxpt
Messages: 339
Registered: January 2007
Location: Canada
Faithful Member
The books covers how to add a custom interaction, but how can I disable an existing interaction? e.g., how can I stop the create / delete interaction from showing?

thanks


http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
Re: Admin Generator: how to disable interaction [message #34354 is a reply to message #34154 ] Tue, 28 August 2007 17:39 Go to previous messageGo to next message
sfxpt  is currently offline sfxpt
Messages: 339
Registered: January 2007
Location: Canada
Faithful Member
sfxpt wrote on Fri, 24 August 2007 12:38

how can I stop the create / delete interaction from showing?


Solved:

http://www.symfony-project.com/forum/index.php?t=msg&&am p;th=8214&goto=34352#msg_34353


http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
Re: Admin Generator: how to disable interaction [message #34467 is a reply to message #34354 ] Wed, 29 August 2007 17:58 Go to previous message
tsunaryo  is currently offline tsunaryo
Messages: 1
Registered: August 2007
Location: Hamburg
Junior Member
Just disable it:

ex to disable the delete action:
edit:
 _list:         ~
 _save:         ~
 _save_and_add: ~


if u want to disable the list action:
edit:
 _save:         ~
 _save_and_add: ~
 _delete:       ~


Previous Topic:Forward/redirect in a component
Next Topic:setting dynamic default route parameter / rewrite
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software