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

Smarty Editing / Help Needed!

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

Newbie
  
Join Date: Mar 2003
Posts: 6
 

Default Smarty Editing / Help Needed!

I'm new to Smarty and X-Cart, so please forgive this trivial question:

How does one 'edit' the templates with Smarty?

I see the smarty.php in the cart folder, but when I run it in the browser nothing happens.

Any help is appreciated!

JB
Reply With Quote
  #2  
Old 03-27-2003, 05:34 PM
 
ms425 ms425 is offline
 

Advanced Member
  
Join Date: Dec 2002
Posts: 37
 

Default

The best way to learn about smarty templates is to dive right into it.

Login to the admin and click on edit templates.

Then click customer>>home.tpl.

This is the main page for your store. You will see {} with some references to other sections of the shopping cart system. These {} are scattered throughout the table. Just look through this and notice all the different sections that are in the main page.

If you turn on the debugging it will show you the tpl files that are used.

Hope this helps.
Reply With Quote
  #3  
Old 03-28-2003, 06:08 AM
 
machnhed1 machnhed1 is offline
 

eXpert
  
Join Date: Feb 2003
Location: Illinois
Posts: 274
 

Default

You definitely need to visit smarty.php.net too. Read the entire site. It's a great resource.
__________________
Following the signature guidelines : xcart pro 3.5.8 - [RedHat]
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 08:14 PM.

   

 
X-Cart forums © 2001-2020