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

Template Help Please

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-10-2003, 11:37 AM
 
davidgreenberg davidgreenberg is offline
 

Member
  
Join Date: Jan 2003
Posts: 15
 

Default Template Help Please

I am a brand new user of x-cart and it seems a bit more complicated than i bargained for. I've never used php scripting before, and even though the cart system has a front end, Im still confused on how to customize the layout(color and placement) of the framework. I know Smarty is the answer, but how do I get started. I feel like I'm in friggin kindergarden.

Ive read some posts that say I can customize my (tlpfile?) in dreamweaver mx.

how does smarty work in relation to x-cart? i get from it that it creates the php code to enter into xcart. please help or point me to some help.
Reply With Quote
  #2  
Old 02-10-2003, 12:10 PM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

To do some basic customisation just requires a little HTML knowledge as the .tpl files are mainly html but with some extra logic that html cannot do.

If you work with dreamweaver mx - i would suggest that simple look and feel stuff can be done in that but most of the really technical stuff will require being able to edit html/smarty directly.

Smarty can be read about at http://smarty.php.net

I am sure that it will not take you long to learn a little about how it works and make your own mods.
__________________
ex x-cart guru
Reply With Quote
  #3  
Old 02-19-2003, 11:57 AM
 
davidgreenberg davidgreenberg is offline
 

Member
  
Join Date: Jan 2003
Posts: 15
 

Default confusion

how do i get the smarty? i know its installed in x-carts installation.

and i see smarty-2.3.0 directory -

but how do i edit the templates? where do i go? what do i do? do i do it locally? or access it remotely?

help anyone!
Reply With Quote
  #4  
Old 02-19-2003, 01:13 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Basically Smarty is template language class for php that allows you to wrap code like functions into html files persay, so its just regular HTML wrapped with {smarty} tags. This keeps look and feel away from the functionality (the php files).

If you just wanting to edit the templates, I'd suggest checking out the webmaster mode in the admin if your using a later version of x-cart.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #5  
Old 02-19-2003, 03:03 PM
  shan's Avatar 
shan shan is offline
 

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

Default

Hi david,

the only files you want to look at to start with are the tpl files.

All the layout is stored in those and you can edit them localy or via your admin area.

Plenty of help in the template editing forum
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
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 11:09 PM.

   

 
X-Cart forums © 2001-2020