Custom admin theme in Magento

As mentioned on Magento forums the easiest way to achieve this is with overriding adminhtml config with your local custom one and activate it as module.
This is just a small example of different approach with Admin Theme config option in admin panel, to show you how things can be done in different ways in Magento.
Since this is one of those “code talks, talk walks” examples, here it is: admintheme_example.rar.
It’s great example of small Magento module with simple event hooking and adding configuration fields through system.xml.
Follow directory structure, copy files to their place and you will notice new “Admin Theme” option in System->Configuration->General->Design (Default Config scope). Your theme goes in app/design/adminhtml/default/yourthemename folder. It doesn’t need to be whole theme of course, just the files you’re changing.
Enjoy!
43 comments
Currently using in M1.9.4.1. Works just fine. Nice! 😀 And this module is already 10 years old! Hello from year 2019!
Nice, now I don’t need to edit anything in the default folder. 😀
Works fine! simple and clean. I’m using CE 1.9.3.3
Hello, it doesnt work form me on Magento 1.9, i can see the option to change the admin name, but my changes on custom theme doesnt show up…any help?
Cool! Worked on our Magento demo store (PS we are on 1.9, so it actually does work on 1.9.x)
This is really very helpful for me. Thanks for a lot
in version 1.9, it can’t work.
works perfectly with 1.7.0.2. so cool . Thank You for this awesome post.
Hi, has anyone got this working on 1.8.1.0?
Thanks.
Magento is the crapiest system. It shouldn’t be open source because i don’t think it was built to be community driven. The lack of documentation just shows how much they care about other people using their system or they probably are worried that people will find out how shitty their system is.
So, just don’t use it…asshole….
Hi,
Awesome post except I can’t get it to work :p
I downloaded your plugin and installed it.
All seems to work (the observer doesn set the them right) but my files in my custom theme are not took in account. 🙁
Very Very helpful post for me….
Its perfectly working in magento 1.7.0.2
Thanks lot…
Very useful. I’ve used under Magento CE 1.7.
Thanks!
Very useful, thanks!
thanks! this helped a lot. :*
Really helpful and useful extension. Thanks and more power!
kind regards,
spawn
I want to say this concept works like charm. I was only creating folder inside defult but it was not working. Event observer has solved the issue.
Thanks Ivan
Easy and useful. Thanks for posting.
Thank you for your extension.
Is there any way change the admin theme by locale?
Yep great thanks for the information, really easy to install and now we can get cracking with changing our admin theme.. 🙂
Great extension, but its not working properly on:
mag v1.6
I found that it makes the cache management page a blank one.
Any one knows how to fix it?
Cheers
It’s a nice little module, but I’m a bit puzzled about one thing…
Inchoo_Admintheme_Controller
Why are you defining a controller class into the models section? Just some wrong naming?
Very useful…. Thanks
inchoo admin theme extension seems to be conflicted with “the Find Feed” in new feature of Magento v1.4.2
I”m using now in my own theme(using the “inchoo admin theme” extension)
“the find feed” is also using its own admin theme setting called feed in config.xml
so when the find feed menu, only shown it up the blank screen.
any solution ?
Many, many, many thanks! Very useful!!!!
Hi ivan,
i am getting this Fatal error: Call to a member function post() on a non-object ..in resource model file,when i submit user email..this is my resource model function..and i am getting error on line 3 post($email)…error i wrote above..can u please help me…
public function getData()
{
$email=$this->input->post(’email’);
$data=array(’email’=>’$email’);
$result=$write->query(“INSERT into {$tablename} values(‘$data’)”);
$result->save();
}
thanks
how to add a custom theme in admin panel in magento
It works well for all the admin except the login page.
Is there a way to include a custom css file in the admin login page?
Thanks
Hi,
there is no SECTION like “Where did you heared about us” in the OrderDetails (backend/admin)
Any ideas?
Cheers
Clay
Followed the written instructions and installed fine. Really helpful since I’m using the Customer Order Comment extension by Biebersdorf.
Just be sure you’re adding your files to LOCAL not COMMUNITY.
David,
What if I don’t want to override my default admin style, is there a way I can add a new folder in the skin directory to pick up my new styling? Thanks!
code got stripped—
config
modules
Inchoo_Admintheme
active>truelocal</codePool
/Inchoo_Admintheme
/modules
/config
Have this working with Magento 1.4.1.0.
Don’t forget you’ll need to create a file to enable the module /app/etc/modules/Inchoo_Admintheme.xml
with
Oh~~~~no~~~~~
my Magento Admin Pannel is downed…..
upload the files and refresh of cache management ………….
it is admin down!!!!!!!
my magento version 1.4.0.1
How are you going to?
I ran into problems with version 1.3.2.4 and your extension.
Configured the package / theme in app/etc/local.xml using:
packagename
themename
Thank you all. I added it to Magento Connect a while ago, so you can easily install it from downloader.
Link: http://www.magentocommerce.com/extension/1086/admin-theme
Key: magento-community/Inchoo_Admintheme
Note that it’s in Alpha state, so change Preferred State setting before download.
Hi Ivan,
Great module, thanks a lot!
Perhaps I am doing something wrong, but on Mage 1.3 when I click “save” to save my new Admin template in the Config, it throws the following error:
Fatal error: Call to a member function setActive() on a non-object in /app/code/core/Mage/Adminhtml/Controller/Action.php on line 76
Thank you Ivan. Today was the first time I used it. It works great 🙂
Thanks! I love this tiny module!
Excellent add-on.
Everytime that I need to change the default admin theme, I just touch the originals (I know, bad practice) and think that I need to develop something like this.