| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
custom css in admin area? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
custom css in admin area?
hey guys, anybody know how to add custom css to the admin area?
__________________
SEEK HAPPINESS. EVERYTHING ELSE IS DETAILS. |
|||||||
#2
|
|||||||||
|
|||||||||
Re: custom css in admin area?
Here is the general article about adding CSS files:
http://kb.x-cart.com/display/XDD/Adding+CSS+and+JS+files You can add a condition for admin area in the getThemeFiles() method: PHP Code:
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#3
|
|||||||
|
|||||||
Re: custom css in admin area?
Quote:
that implies that without that, all the files would get added on the admin, right? my issue is that i'm not seeing my css files being added o the admin side, so i'm wondering if that method actually gets called in the admin panel. this morning I found this in AdminPanel.php PHP Code:
so I'm thinking maybe I can extend that to add my admin panel css. but if you're saying that the getthemfiles() method of aview gets called in the admin area, then I dont need to do that. can you clarify?
__________________
SEEK HAPPINESS. EVERYTHING ELSE IS DETAILS. |
|||||||
#4
|
|||||||
|
|||||||
Re: custom css in admin area?
Quote:
:::Solved::: Ok, so I fugured out the issue. In order for the css to show up in the admin area, you have to add it to skins/admin/en/modules/devid/modid/. as I'm learning over and over, where I place my code is just as integral as the code itself.
__________________
SEEK HAPPINESS. EVERYTHING ELSE IS DETAILS. |
|||||||
|
|
|||
X-Cart forums © 2001-2020
|