Customized backend interface in Magento -
Customized backend interface in Magento -
is possible customize backend interface of magento. requirements include:
a custom theme backend
removing default menu in admin panel such catalog, mobile, promotions, etc , replacing them custom menus. example, there menu managing order related tasks, 1 managing client related tasks , on.
the content of each page under above mentioned menus have custom layouts.i aware of fact that, layout changes can managed through themes not sure how implement customized menus. should create different module rendering customized backend interface? first project on magento. please advise on implementation of these requirements.
add new adminhtml theme
start adding new folder within app/design/adminhtml/default folder. start out, folder should contain 1 sub-folders called template.
so, example, add together folder called mytheme, , within add together folder called template.
overriding magento configuration
all have add together new config.xml file within app/code/local/mycompany/adminhtml/etc. add together next code within file:
note: if created file next 1 of before guides don’t have create 1 time again , add together section @ appropriate location within existing file.
<?xml version="1.0" encoding="utf-8"?> <config> <modules> <mycompany_adminhtml> <version>0.1.1</version> </mycompany_adminhtml> </modules> <stores> <admin> <!-- override default admin design bundle , theme --> <design> <package> <name>default</name> </package> <theme> <default>mytheme</default> </theme> </design> </admin> </stores> </config>
you have tell magento new module in xml file placed within /app/etc/modules. file called mycompany.xml , within copy/paste:
note: if created file next 1 of before guides don’t have create again.
<?xml version="1.0" encoding="utf-8"?> <config> <modules> <mycompany_adminhtml> <active>true</active> <codepool>local</codepool> <depends> <mage_adminhtml /> </depends> </mycompany_adminhtml> </modules> </config>
changing template files
now alter default magento templates re-create .phtml files app/design/adminhtml/default/default/template folder own template folder , alter contents of .phtml file suit needs.
for example, if want alter login box , remove magento copyright message:
copy app/design/adminhtml/default/default/template/login.phml app/design/adminhtml/default/mytheme/template folder , alter
set own legal note. magento magento-1.7
Comments
Post a Comment