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

Error trying to edit template (and view)...

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-04-2002, 07:07 AM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default Error trying to edit template (and view)...

Hello everyone. I am brand new and am (at this point) just trying to edit the basic colors of my store. This is the error I get when "previewing" the skin1.css file and/or trying to save it through x-cart's admin panel:

Fatal error: Smarty: [in ./skin1.css line 1]: syntax error: invalid attribute name - '#550000;' in /home/****/public_html/xcart/Smarty-2.1.1/Smarty_Compiler.class.php on line 1387

I apologize again, but can someone also point me in the right direction on changing the default skin (if this is possible). Thank you.
Reply With Quote
  #2  
Old 11-04-2002, 07:31 AM
 
Jeannie Jeannie is offline
 

eXpert
  
Join Date: Sep 2002
Location: Texas
Posts: 257
 

Default

Not sure on the error you're getting in skin1.css
Have you tried restoring the file to see if that eliminates the error?

The help manual has a decent guide on what steps to take to change the skin. Believe it applies to most versions, but then I've worked only with 3.1. Check your member area for it. If not there, just send them a message to request it be uploaded for you.
Reply With Quote
  #3  
Old 11-04-2002, 07:33 AM
  seaCOAST's Avatar 
seaCOAST seaCOAST is offline
 

X-Adept
  
Join Date: Oct 2002
Location: New Hampshire
Posts: 569
 

Default Re: Error trying to edit template (and view)...

Quote:
Originally Posted by bluecat
Hello everyone. I am brand new and am (at this point) just trying to edit the basic colors of my store. This is the error I get when "previewing" the skin1.css file and/or trying to save it through x-cart's admin panel:

Fatal error: Smarty: [in ./skin1.css line 1]: syntax error: invalid attribute name - '#550000;' in /home/****/public_html/xcart/Smarty-2.1.1/Smarty_Compiler.class.php on line 1387

I apologize again, but can someone also point me in the right direction on changing the default skin (if this is possible). Thank you.

Hi bluecat,

Welcome aboard!
I've always had the same problem with previewing. Not sure why, though.
I just save the template and go back if I want to alter it again.
You might have to refresh to see changes.

It's not a bad idea to make a back-up of the template first!!


And yes...you can alter just about everything in X-cart.
__________________
Xcart V4.5.5 Gold
seaCOAST
"Live FREE or DIE!"
Reply With Quote
  #4  
Old 11-04-2002, 07:39 AM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

Thanks for the quick replies! I appreciate it.

The members area is down right now, but I'll try your suggestion seaCOAST.

Thanks again.
Reply With Quote
  #5  
Old 11-04-2002, 07:49 AM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

Cool, now I'm getting somewhere. Thanks again!
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 05:35 PM.

   

 
X-Cart forums © 2001-2020