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

Is it easier to write a new template, or modify an existing one?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-03-2006, 05:52 PM
 
nerocom nerocom is offline
 

Member
  
Join Date: Jul 2006
Posts: 23
 

Default Is it easier to write a new template, or modify an existing one?

I'm having some trouble here. I have a design based off of the fashion mosaic, but it's amazing how hard modifing the template is. Tons of nested templates, code being reused where it shouldn't be and not being reused where it should, it really is a mess. I've thought about just writing a new template, but how hard is this? I've never worked with smarty and my php knowledge is so-so.
__________________
XCart 4.1
Reply With Quote
  #2  
Old 10-04-2006, 03:06 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Is it easier to write a new template, or modify an existing one?

If you have never worked with smarty, it won't be that easy. You don't need to know PHP, as the tempaltes are just smarty and html/css. Going to be easiest to start with some sort of base, but I'd suggest starting with a more 'vanilla' set of templates, like the ones that come with X-Cart by default. The Fashion Mosaic is indeed kind of messy.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 10-04-2006, 08:26 AM
 
nerocom nerocom is offline
 

Member
  
Join Date: Jul 2006
Posts: 23
 

Default Re: Is it easier to write a new template, or modify an existing one?

Blah, okay. I started with Fashion Mosaic already, and it's driving me nuts. I've replaced quite a bit of it with DIVs and whatnot, since their table structure is pretty nasty.
__________________
XCart 4.1
Reply With Quote
  #4  
Old 10-04-2006, 08:34 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Is it easier to write a new template, or modify an existing one?

It is a huge job to convert X-Cart to a CSS-driven layout...ask Boomer..he wrote a CSS skin for the 4.0 branch...believe it took him 80 hours or so. cart-lab.com
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 07:43 AM.

   

 
X-Cart forums © 2001-2020