Forums / Setup & design / How to allow the users to remove files?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

How to allow the users to remove files?

Author Message

Jorge Dionisio

Wednesday 12 May 2004 3:35:46 am

Is this the right way? what am i doing wrong?

{attribute_view_gui attribute=$node.object.data_map.description}

{attribute_view_gui attribute=$node.object.data_map.file}

<form method="post" action={concat("/content/remove/",$node.object.id,"/")|ezurl}>

<input type="submit" name="RemoveFile" value="Remove File">

</form>

Jorge Dionisio

Wednesday 12 May 2004 5:14:37 am

forget about it, i did it anyway here is the solution for to put in the file_line.tpl, to allow users to remove files...

<form enctype="multipart/form-data" method="post" action={concat("/content/action")|ezurl}>

<input type="hidden" name="DeleteIDArray[]" value="{$node.node_id}">
<input type="submit" name="RemoveButton" value="{'Remove File'i18n('design/standard/content/edit')}">

</form>