1

I create a custom admin theme to override few admin template files. In developer mode theme work perfect, but when I turn on production mode and make: bin/magento setup: static-content: deploy then: bin/magento cache: flash theme not work. In DB theme is registered. When I check pub/static/adminhtml/custom_module/custom_module there are no files.

  • Admin theme is not working yet, you have to overrider admin files you have to create module and overrider core files of adminpanel. – Rakesh Jesadiya Oct 26 '16 at 9:30
  • Yes, I do that, I override admin template files in app/design/adminhtml/custommodule/customodule. In developer mode everything is ok, but when I turn production mode magento won't compile/merge my custom admin theme with Magento/backend theme. – Marek Karmelski Oct 26 '16 at 9:35
  • My admin panel in production mode look like this: postimg.org/image/co0ipu0vl – Marek Karmelski Oct 26 '16 at 9:42
  • 1
    I found solution: github.com/magento/magento2/issues/3754 – Marek Karmelski Oct 27 '16 at 6:24
  • How to solve @MarekKarmelski? – Ankit Shah Dec 2 '16 at 8:43

Your Answer

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

Browse other questions tagged or ask your own question.