Elxis CMS Forum
Support => Elxis 4.x/5.x DEV => Topic started by: speck on April 16, 2013, 10:26:40
-
hi ::)
big problem!
how can delete a file loaded with parameter xml
example
<param type="file" name="image1" path=media/images/mymodule/{multisite/}" filetype="png,jpg,jpeg,gif" maxsize="" default="" label="IMAGE" description="" />
i see is impossible to delete it
tips???
maybe a little implement in a future patch is possible???
-
Why to delete it? There is no reason. Just upload a new file and will be updated.
Direct deletion of files is not allowed for security issues.
-
Yes you're right
but if i had a module where i can upload 4 images with short descritpion and link,
but one day i want publish only 3 images? yes u are right, i can create publish yes or not for every image, but so there is a passage in more to do :)
-
Such things get handled by the extension's developer.
The module it self can delete the files it doesn't need any more if it is designed to do so.