Prestashop - 1.4 Guida Dell'Amministratore

Pagina di 12
 
/controllers
: contains all the files pertaining to PrestaShop 
controllers – as in Model-View-Controller (or MVC), the software 
architecture used by PrestaShop. Each file controls a specific part of 
PrestaShop. 
 
/css
: contains all CSS files that are not attached to themes – hence, 
these are mostly used by the PrestaShop back-office. 
 
/docs
: contains some documentation. Note: it should be deleted in a 
production environment. 
 
/download
: contains your digital products, which can be downloaded: 
PDFs, MP3s, etc. 
 
/img
: contains all of PrestaShop's default images, icons and picture 
files – that, those that do not belong to the theme. This is were you 
can find the pictures for product categories (
/c
 sub-folder, those for 
the products (
/p
 sub-folder) and those for the back-office itself 
(
/admin
 sub-folder}}. 
 
/install
: contains all the files related to PrestaShop's installer. You 
will be required to deleted after installation, in order to increase 
security. 
 
/js
: contains all JavaScript files that are not attached to themes. 
Most of them belong to the back-office. This is also where you will 
find the jQuery framework. 
 
/localization
: contains all of PrestaShop's localization files – that is, 
files that contain local information, such as currency, language, tax 
rules and tax rules groups, states and the various units in use in the 
chosen country (i.e., volume in liter, weight in kilograms, etc.). 
 
/log
: contains the log files generated by PrestaShop at various 
stages, for instance during the installation process. 
 
/mails
: contains all HTML and text files related to e-mails sent by 
PrestaShop. Each language has its specific folder, where you can 
manually edit their content if you wish. 
 
/modules
: contains all of PrestaShop's modules, each in its own 
folder. If you wish to definitely remove a module, first uninstall it 
from the back-office, then only can you delete its folder. 
 
/override
: this is a special that appeared with PrestaShop 1.4. By 
using PrestaShop's regular folder/filename convention, it is possible 
to create files that override PrestaShop's default classes or 
controllers. This enables you to change PrestaShop core behavior 
without touching to the original files, keeping them safe for the next 
update. 
 
/themes
: contains all the currently-installed themes, each in its own 
folder. 
 
/tools
: contains external tools that were integrated into PrestaShop. 
For instance, this were you'll find Smarty (template/theme engine), 
FPDF (PDF file generator), Swift (mail sender), PEAR XML Parser 
(PHP tool). 
 
/translations
: contains a sub-folder for each available language. 
However, if you wish to change the translation, you must do so