2

I want to customize image file upload tab, So it required to override some .phtml files in following locations.

So I want to know, how to override .phtml files in

/vendor/magento/module-backend/view/adminhtml/templates/media/uploader.phtml

1

1st create ur Admin Theme by using below guide

Magento 2: How to enable newly created admin theme & override module?

or

http://devdocs.magento.com/guides/v2.1/frontend-dev-guide/themes/admin_theme_create.html

Ur file will be here

magento\app\design\adminhtml\YourVendor\YourThemeName\Magento_Backend\view\adminhtml\templates\media\uploader.phtml

  • Can i change phtml files like in magento 1.x, without create custom module – omelandr Jan 10 '17 at 8:53
  • Standard way is create your Custom Theme & override Core file which u want. Purpose when Magento version upgrades, ur changes remains – Ankit Shah Jan 10 '17 at 8:59
  • File Path should be magento\app\design\adminhtml\YourVendor\YourThemeName\Magento_Backend\templates\media\uploader.phtml – Nauman m. Mansuri Nov 23 '18 at 13:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.