Ecshop Individual folder functions

Source: Internet
Author: User

Images folder:

This folder has subfolders under which the original images and thumbnails of the current site's products are stored under these subfolders. These subfolders are named regularly, and their filenames are the year in which the item was added to their directory. That is, in the same month to add products, their pictures are in the same folder, and the name of this folder is the current year and month. In the background each add a picture of the product, this side will be in a folder under the submission of a copy of the picture.

Data folder:

This folder includes some fixed data, such as fixed configurations, images, and so on. In this folder of data

Config.php records Some of the database's fixed information,

Afficheimg folder to store this home page the most middle flash picture source.

The implementation of the Afficheimg folder to load the picture into the first page of the Flash is through the folder Flashdata the following folder Dynfocus JavaScript in the implementation.

Folder Brandlogo Store the logo of the company that has the brand, and the background image of the CAPTCHA under the other folder.

Theme folder:

The display of the page is theme this folder is entirely responsible. And how are these prepared data displayed in the theme. DWT? The data is loaded through Smarty. In each. php file in the root directory there will be similar $smarty->assign (' Page_title ', $position [' title ']); Such a sentence, so Page_ The title can be used as a variable in the corresponding DWT file. This will be a good combination of PHP files and DWT files.

Here's a little bit about the DWT file. Most of the information in this file is generated automatically. In the DWT file you will see this block, which is used to determine the location of each module display, if a module selection in the background display in the "left area", then the code of this module will be generated in the above area. Of course, in the DWT file we will also see everywhere the code is automatically generated, to change it can only be the. lbi file. There is no direct editing of the code between the two flags before it appears, and the code to add to it must be inserted before the next beginlibraryitem.


Program:

The program consists of all of the PHP scripts, includes,js folders, in the root directory (which is said about the foreground), all of which complete the data preparation for the foreground display. So they are very important in the structure of the whole ecshop, and the changes to Ecshop are mainly focused on these scripts, and the specific analysis of these scripts is given in the late one by one.

      

From for notes (Wiz)

Ecshop Individual folder functions

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.