Customizing storefront design of X-Cart based online store
|
Revision date: Jan 31, 2006
|
Another way to edit templates is to use Edit templates
from the Administration menu. It opens the 'Browse templates' section.
You can use either the preset files menu or the 'Browse templates' form
to access the files you need. Picture 3:'Preset files' menu.

Picture 4:'Browse templates' form.
The 'Browse templates' section allows you to: - Create a new file
- Create a new directory
- Create a copy of a file
- Delete a file or a directory
- Upload a file from the local computer
- Edit a template
- Restore all files
- Compile templates to use only one language
As
we said before, if you want to edit templates successfully, you need to
possess basic knowledge and experience in HTML, CSS and Smarty PHP
template engine. Picture 5:'Edit file' form.
Smarty templates are all the .tpl files inside the <xcart-dir>/skin1/ directory. Use either FTP or the 'Edit templates' or 'Webmaster mode' features to do that. Webmaster
mode is the most convenient way to edit templates. Refer to the
manual in order to learn more how to use the features mentioned. Also,
you can refer to the Smarty manual in order to learn more about Smarty. Here is the list of templates you will need to edit to make basic changes: - skin1.conf - configuration file for X-Cart templates engine. All variables from this file are available in templates. Refer to them as in template syntax.
- head.tpl - template that defines the look of the top part of a store page.
- location.tpl - template for the content navigation string right below the heading.
- customer/main/welcome.tpl - a welcome message your visitors see at the home page.
- copyright.tpl - copyright notice at the very bottom of a page.
- help/conditions.tpl - the text of Terms & Conditions.
- mail/signature.tpl - the text of your signature automatically attached to your outgoing e-mail messages.
|
Revision date: Jan 31, 2006
|
|
|
|