ez.no / ezpublish / documentation / customization / tips & tricks / adding a remove button/image
These documentation pages are no longer maintained. Please visit the new documentation site.
Testing ...
{section show=$node.object.can_remove} <form method="post" action={"content/action"|ezurl}> <div style="display: inline;"> <input type="hidden" name="ContentNodeID" value="{$node.object.main_node_id}" /> <input type="hidden" name="ContentObjectID" value="{$node.object.id}" /> <input type="image" name="ActionRemove" src={"trash.gif"|ezimage} /> </div> </form> {/section}
This text could not be submitted with the OE, body did not validate. Disabling the editor works
Comments