Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Newbie: Stylesheets for admin vs. main site

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-25-2003, 11:26 PM
 
dennx dennx is offline
 

Member
  
Join Date: Jul 2003
Posts: 10
 

Default Newbie: Stylesheets for admin vs. main site

Can the admin section use the default CSS and main site use a new CSS?

I made changes to my skin1.css and the admin pages changed as well. Can I point admin pages or main site pages to a different stylesheet? How?
Reply With Quote
  #2  
Old 07-26-2003, 02:49 AM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default

Sure.. you can use different CSS files... in the skin1/fulfilment/home.tpl file you will see
Code:
<link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}">
near the top. Just change this to point to your new CSS file.
Reply With Quote
  #3  
Old 07-26-2003, 06:28 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

skin1/fulfilment/home.tpl is for fulfilment staff

skin1/single/home.tpl is for the main admin but also for some parts of the fornt end
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #4  
Old 07-26-2003, 10:42 AM
 
dennx dennx is offline
 

Member
  
Join Date: Jul 2003
Posts: 10
 

Default

And what is the correct method of pointing to new .css file? An example please.

Thanks
Reply With Quote
  #5  
Old 07-26-2003, 10:48 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

Code:
<link rel="stylesheet" href="{$SkinDir}/your_new_one.css">
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #6  
Old 07-26-2003, 10:56 AM
 
dennx dennx is offline
 

Member
  
Join Date: Jul 2003
Posts: 10
 

Default

Excellent, thank you, all new to the Smarty templates... but with this forum I'm sure I'll get the hang of it.
Reply With Quote
  #7  
Old 07-26-2003, 11:35 AM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default

Yep.. sorry... wrong .tpl file. I answered before I had my usual pot of coffee in the morning.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:34 PM.

   

 
X-Cart forums © 2001-2020