Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

File Upload In admin - how to remove delete box
 
angelo_f
Sr. Member
 
Total Posts:  80
Joined:  2011-10-28
 

Greetings

I have been able to add a file upload on the admin page like this

<file translate="label comment">
<label>File</label>
<comment><![CDATA[File saved in <strong><span style="color: red;">var/uploads</span></strong> folder.]]></comment>
<frontend_type>file</frontend_type>
<backend_model>adminhtml/system_config_backend_file</backend_model>
<upload_dir>var/uploads</upload_dir>
<sort_order>50</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</file>

However, after successfully uploading a file, it displays a delete checkbox under it next time page loads. How do I remove that?

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
angelo_f
Sr. Member
 
Total Posts:  80
Joined:  2011-10-28
 

I just deleted the config entry and that worked

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top