Difference between revisions of "X-Cart:Code"
| Line 2: | Line 2: | ||
1. PHP scripts:  | 1. PHP scripts:  | ||
| − | + | * Customer related scripts are located in the ./ (root) directory.  | |
| − | + | * Administrator related scripts are located in the ./admin directory.  | |
| − | + | * Provider related scripts are located in the ./provider directory.  | |
| − | + | * Common scripts are located in the ./include directory.  | |
| − | + | * Modules related scripts are located in the ./modules directory.  | |
| − | + | * Customer/Administrator/Provider related scripts location is configured in the ./top.inc.php script.  | |
2. Smarty class scripts are located in ./include/lib/smarty directory.  | 2. Smarty class scripts are located in ./include/lib/smarty directory.  | ||
| Line 16: | Line 16: | ||
5. Templates directory:  | 5. Templates directory:  | ||
| − | + | * Common templates are located in the ./skin1 and ./skin1/main directories.  | |
| − | + | * Templates for the Customer area are located in the ./skin1/customer directory.  | |
| − | + | * Templates for the Admin area are located in the ./skin1/admin directory.  | |
| − | + | * Templates for the Provider area are located in the ./skin1/provider directory.  | |
| − | + | * Mail templates are located in the ./skin1/mail directory.  | |
| − | + | * Templates for X-Cart modules are located in the ./skin1/modules directory.  | |
6. Compiled templates (for cache and Smarty internal use): ./var/templates_c  | 6. Compiled templates (for cache and Smarty internal use): ./var/templates_c  | ||
| Line 27: | Line 27: | ||
7. Dump of MySQL database is in ./sql/*.sql file.  | 7. Dump of MySQL database is in ./sql/*.sql file.  | ||
| − | 8.   | + | 8. Images are located in ./skin1/images directory.  | 
9. Product images, category images, manufacturer images etc are located in the ./images directory.  | 9. Product images, category images, manufacturer images etc are located in the ./images directory.  | ||
| Line 56: | Line 56: | ||
==Directory /skin1_original/==  | ==Directory /skin1_original/==  | ||
| − | This directory   | + | This directory contains backup of default skin, JavaScripts, CSS and some images used by that skin.  | 
==Directory /sql/==  | ==Directory /sql/==  | ||
Revision as of 12:00, 23 December 2009
Contents
- 1 Overview
 - 2 Access points
 - 3 Directory /admin/
 - 4 Directory /catalog/
 - 5 Directory /customer/
 - 6 Directory /files/
 - 7 Directory /images/
 - 8 Directory /include/
 - 9 Directory /mail/
 - 10 Directory /modules/
 - 11 Directory /payment/
 - 12 Directory /provider/
 - 13 Directory /schemes/
 - 14 Directory /shipping/
 - 15 Directory /skin1/
 - 16 Directory /skin1_original/
 - 17 Directory /sql/
 - 18 Directory /upgrade/
 - 19 Directory /var/
 
Overview
1. PHP scripts:
- Customer related scripts are located in the ./ (root) directory.
 - Administrator related scripts are located in the ./admin directory.
 - Provider related scripts are located in the ./provider directory.
 - Common scripts are located in the ./include directory.
 - Modules related scripts are located in the ./modules directory.
 - Customer/Administrator/Provider related scripts location is configured in the ./top.inc.php script.
 
2. Smarty class scripts are located in ./include/lib/smarty directory.
3. CSS styles are described in ./skin1/*.css file.
4. Smarty templates configuration can be found in ./skin1/skin1.conf file.
5. Templates directory:
- Common templates are located in the ./skin1 and ./skin1/main directories.
 - Templates for the Customer area are located in the ./skin1/customer directory.
 - Templates for the Admin area are located in the ./skin1/admin directory.
 - Templates for the Provider area are located in the ./skin1/provider directory.
 - Mail templates are located in the ./skin1/mail directory.
 - Templates for X-Cart modules are located in the ./skin1/modules directory.
 
6. Compiled templates (for cache and Smarty internal use): ./var/templates_c
7. Dump of MySQL database is in ./sql/*.sql file.
8. Images are located in ./skin1/images directory.
9. Product images, category images, manufacturer images etc are located in the ./images directory.
10. Files related to integrated shipping modules are located in the ./shipping directory.
Access points
func.php
home.php
cart.php
product.php
Directory /admin/
Directory /catalog/
Directory /customer/
Directory /files/
Directory /images/
Directory /include/
file1.php
file2.php
file3.php
Directory /mail/
Directory /modules/
Directory /payment/
Directory /provider/
Directory /schemes/
Directory /shipping/
Directory /skin1/
Directory /skin1_original/
This directory contains backup of default skin, JavaScripts, CSS and some images used by that skin.