I have a problem for add a simple JavaScript on my admin dashboard.

I have create a local.xml with my folder theme but no result.


        <reference name="head">
            <action method="addJs"><script>mytheme/jquery.js</script></action>      

Thanks for your help.

  • Is your custom admin theme applied? If so, did you get any 404 error for mytheme/jquery.js? – Jayesh Patel Jan 18 '16 at 12:32
  • did you set theme for admin? – Qaisar Satti Jan 18 '16 at 12:37
  • I have set my theme here: Design\Package\Current Package Name – Eric Arbeloa Jan 18 '16 at 12:59
  • That is for setting the frontend theme. There is no backend option for setting a backend theme in Magento so far. – Alain Banutz Jan 20 '16 at 9:43

You don't have to build a separate admin theme for that. Just place your local.xml under this location:


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.