-
- Garri

-
Total Posts: 30
Joined: 2007-09-18
|
at Mage_Adminhtml_Controller_Action::preDispatch()
i see folowing
Mage::getDesign()->setArea('adminhtml') ->setPackageName('default') ->setTheme('default');
in the structure of admin-design files already exists this idea : default / default.
for correct working of custom design “Package” and “Theme” i left as is only setArea(’adminhtml’)
Mage::getDesign()->setArea('adminhtml'); // remove this // ->setPackageName('default') // remove this // ->setTheme('default');
Now assigning of custom package and theme from configuration work properly.
Ideally, it would be separate design configuration for “back” and “front”.
opinions?
|