Allowing/Disallowing file extensions upload in the Magento admin panel CMS editor

Posted on October 12, 2012 by Nimrod Techn There have been 0 comments

Basically, in order to allow certain file extensions to be uploaded via the
CMS editor, we would need to override the normal config configuration.
As you probably know, all the config.xml files in Magento are gathered together everytime the
system runs, and the overriden files (local) take priority over those in the core.
Thus, we can create an extension, or add the following lines to one of our current extensions
config.xml file (inside the config tag):
This is how we define all the file extensions to be allowed.
In case we would like to disallow jpg files from being uploaded, we would do this:
in both places.

This post was posted in Core

Magento is a well-engineered eCommerce platform designed to help engineers develop customized eCommerce online stores. Due to lack of proper coding documentation, was created with the sole purpose of instructing Magento developers to-be with the "how-to-do" know-how. In the event of unresolved issues, you are more than welcome to contact me for consultation. However, please do so only if you possess a Software Engineering background and you're able to specify your question.