Forums / Setup & design / Template code for removing objects / Comment21818
GDA AS
Tuesday 25 April 2006 5:59:30 am
Thank you.
So in essence I just nedd to add the ContentNodeID input element to make my form work.
Something like this:
<form name="form1" method="post" action={"content/action"|ezurl}> <input type="hidden" name="ContentObjectID" value="{$view_parameters.oid}" /> <input type="hidden" name="ContentNodeID" value="{$view_parameters.nid}" /> <input type="submit" name="RemoveButton" value="{'Remove'|i18n('design/standard/node/view')}" /> </form>