Forums / Developer / delete node without message

delete node without message

Author Message

Pierre-Jean Bazire

Friday 20 October 2006 2:16:03 am

Hello,
I create a remove button in page.

When I click to delete, a page ask me if I want delete the node.

Have you a solution or manipulation to hide the message ? (directly to delete object)

bye

Pierre-Jean

sangib das

Friday 20 October 2006 2:40:57 am

Hi Pierre-Jean Bazire
Can u show me ur code
Thanks
Sangib

Pierre-Jean Bazire

Friday 20 October 2006 3:13:56 am

This code is correct but I have a confirm message but i don't watch this.

	<form method="post" action="/content/action" name="suppression" style="display:block">
		<input type="hidden" name="NodeID" value="{$userid.main_node_id}" />
		<input type="hidden" name="ClassID" value="35" />
		<input type="hidden" name="ContentObjectID" value="" /> 
		<input type="hidden" name="ContentNodeID" value="" />
		<input type="hidden" name="RedirectURIAfterPublish" value="/{$node.url_alias}" />
		<input type="hidden" name="ActionRemove"/>
	</form>

Pierre-Jean

sangib das

Friday 20 October 2006 3:34:12 am

Hi Pierre-Jean Bazire
I want to know one more thing After deleting what kind of confirm message coming.
Can u publish this message.I will ckeck whether this message is specified in /kernel/content/action.php file or not.
Thanks and regards
Sangib