![]() |
Editing skin.css is editing my admin... Why???
I am totally confused now. I thought the skin1.css file was for the customer side & the skin1_admin.css file was for the admin side of the site.
When I edited the skin1.css file, it did change the customer side of things, however, it also changed my admin side. Is there something I am missing here or is there a problem with our install? Thanks a bunch, Jennifer |
Re: Editing skin.css is editing my admin... Why???
Are you using a stock install? What did you change that affected the admin side?
|
Re: Editing skin.css is editing my admin... Why???
I used a stock install. I am getting very confused as to what I am doing some days mainly b/c I am learning where everything is and getting pulled away every time I get into doing this.
In thinking back and looking at prior posts I have made (see link below), I changed the menu.tpl file and I changed some of the dingbats. http://forum.x-cart.com/showthread.php?t=31476 Does the admin side only have limited files that are admin only & the rest are global? What we want is the admin side to have the blue skin look that comes with X-cart and a totally out of the box design on the customer side. What do I have to do to make these 2 sides have totally different looks??? --going balder every day-- Thanks! Jennifer |
Re: Editing skin.css is editing my admin... Why???
Ok, you are confusing skin1.css and templates. Some templates are shared between admin and customer (dialog.tpl, menu.tpl are two examples). Skin1.css is not shared, each side has its own stylesheet. So if you make a change to skin1.css, it will only affect the customer side, but if you change menu.tpl, it will affect both.
|
Re: Editing skin.css is editing my admin... Why???
Quote:
That part is frustrating. What does it take to make an admin side menu.tpl? I really want them to be seperate designs so our employees know which side of the cart they are on. If I could figure out this template system, I would be golden with this cart! Thanks Balinor for all your help. I don't always post but have read many things you have posted around here & you are very helpful.:D/ -Jen |
Re: Editing skin.css is editing my admin... Why???
Well, the easiest way is to just use an {if} statement in the menu template itself. Something like this:
{if $usertype eq "C"} show menu code for customer side {else} show menu code for admin side {/if} That way, you don't have to go through all the admin templates updating the code to point to a new menu.tpl. You can do the same thing with any of the shared templates. |
Re: Editing skin.css is editing my admin... Why???
Thank you so much Balinor!
IT WORKS! IT WORKS! IT WORKS! Now I have a happy product lister! |
All times are GMT -8. The time now is 07:16 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.