By the way, if you rename app / design / adminhtml / default to app / design / adminhtml / base, the admin theme works fine.
@benmarks answer is correct, although incomplete. You also need to rename another directory: skin/adminhtml/default to skin/adminhtml/base
I created a special theme for the administrator so that I can handle insertion of headers, etc.
So I had to change config.xml in my module to look like this:
<config> <stores> <admin> <design> <package> <name>MY_THEME_PACKAGE_NAME</name> </package> <theme> <default>default</default> </theme> </design> </admin> </stores> </config>
Edit
I found that I simply renamed the adminhtml/default/default theme adminhtml/base/default to adminhtml/base/default and the skin folder, as I suggested quick creation of breaks product in the admin custom products section.
I finished copying mymodule_layoutfile.xml (maybe the local.xml file, I just didn’t want to put the file without a link to my module) on adminhtml/default/default/layout and frontend/base/default/layout dirs.
Note that adminhtml does not have a base directory, so default/default .
The contents of mymodule_layoutfile.xml :
<?xml version="1.0"?> <layout> <default> <reference name="head"> <action method="addJs"><script>jquery/jquery.min.js</script></action> <action method="addJs"><script>jquery/jquery.noConflict.js</script></action> </reference> </default> </layout>
Niloct
source share