How would I go about setting up and activating a custom admin theme? i’ve customized the admin theme and I really would like to set it up in an upgrade-friendly way. I’m sorry if this has already been discussed,...i searched and was unable to find any information. thank you.
as far as i have seen magento isnt really set up to use a different admin theme. If you are wanting to change the appearance of the admin area, i think the best way to do it would be edit the css of the current theme.
Basically that’s what i did,...i was just wondering if there was a way of future proofing these changes against upgrades like you can do with frontend themes,...or if each time i upgrade i will have to overwrite the admin theme files?
You can setup a new admin theme, very similar to the way you do it for a frontend theme (add new folders/files in the package and theme locations in app/design/adminhtml and skin/adminhtml). Once that is in place, just override app/code/core/Mage/Adminhtml/etc/config.xml as app/code/local/Myname/Adminhtml/etc/config.xml and add the following code to it:
How can I enable this new theme?
I suspect i’ve to declare this in a config.xml somewhere. But i don’t know whichone and how to define this new admin theme.
Thanks in advance!
How can I enable this new theme?
I suspect i’ve to declare this in a config.xml somewhere. But i don’t know whichone and how to define this new admin theme.
Thanks in advance!
For those of you who already have your own module up and running with its own config.xml, it’s your existing one that you need to edit.
(I wasn’t sure from bott’s instructions whether this needed an additional config.xml somewhere or not. It doesn’t if your module already has one)
I just put:
<stores> <admin> <design> <theme> <!-- force admin theme to be 'mytheme' --> <default>mytheme</default> </theme> </design> </admin> </stores>
For some reason I’m bashing my head against this - so a couple of questions for the brains trust:
1. Does this still work with 1.3.x ?
2. I’m trying to just do a simple local override of the Mage config rather than using a new module, does this work?
All I want to do is change a couple of lines in boxes.css so I’ve made the following changes in
app/code/local/Mage/Adminhtml/etc/config.xml
As you can see my new admin theme is called ‘peas’ so I make a skin/adminhtml/default/peas folder, then I copy boxes.css to skin/adminhtml/default/peas/boxes.css I make my edits to this one file.
And....nothing happens - Is there a step I’ve missed?
I’ve also manually deleted the /var/cache files in case the admin caching isn’t controlled by the same menu options as the front end with no change.
No I didn’t I’m afraid, stopped looking into it after that post and just quickly changed the admin skin files to get through our client review - I’ll have to revisit this before the site goes into production however.