eZ Community » Forums » Developer » Delete node without confirm
expandshrink

Delete node without confirm

Delete node without confirm

Thursday 19 April 2012 7:33:01 pm - 2 replies

Hi,

What is the way to delete a node without the step to confirm if we want to move it to trash or not.
I just want delete node directly

Regards.

Luarent

Thursday 19 April 2012 8:22:26 pm

Hello Laurent,

 

there is a solution, in the content.ini, you have these parameters :

[RemoveSettings]
# Maximum number of nodes to remove using Remove Subtrees feature
MaxNodesRemoveSubtree=100
# delete or trash
DefaultRemoveAction=trash
# true or false
ShowRemoveToTrashCheck=true
# true or false
HideRemoveConfirmation=false

i think you just have to override the last one.

 

i hope the answer will fit to you

Alex

Thursday 19 April 2012 10:22:07 pm

Alexandre,

Perfect / impeccable !

Laurent

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from