ERP5 Web is simple yet powerful Web 2.0/3.0 publication system which allows you
to build a rich website application in short time. It's designed to serve any
ERP5 object within a custom web design/layout over the web. The system supports
structuring, translation and versioning of controlled content with an easy to
use web interface.
Table of Contents
The main building blocks of the system are as follow:
The main technical concepts introduced by ERP5 Web are as follow:
The following list of business templates and their dependencies needs to be
installed: erp5_base, erp5_web, erp5_dms. For business template installation
guide see HowToInstallBusinessTemplates
Additionally you have to install Portal Transforms tool to make viewing Web
Pages work. Please see How to use portal transforms.
Once you have installed all required business templates you can create your website by:
The way a Web Site is rendered depends on the prefered layout settings plus the
CSS files used.
There are two types of layouts you can specify for every ERP5 Web Site or contained
Web Section : container (used when showing container itself) and content (used when
showing contained item). Each layout has can have arbitrary 'Page Template'
which will be used to render it. Each 'Page Template' can include different
set of CSS files used to visualize site's elements.
In order to customize your web site you need to find which ERP5 forms are used
for layout and customize them accordingly. If you want to change not only your
site's structure but appearance you should change used CSS files.
Rule: By customizing layout forms you define your site's structure,
by customizing used CSS files you define how your site is going to look like.
For a general guide to ERP5 Forms (layouts) see HowToCreateNewForms
Another way to heavily customize your specific web section is to define a WebSite_setSkin
script in root of web section. This script will be called dynamically at every request
and in it it's possible to change the current portal skin.
The way a Web Document is managed in Web Site depends entirely on its associated
list of workflows. The main workflow used in a ERP5 Web Site is document_publication_workflow
which defines the general set of states and transition as well security settings.
It's available at erp5/portal_workflow/document_publication_workflow. Configuring
an workflows is an advanced topic and its covered in appropriate document.
Each Document in a Web Site has the following attributes that make it possible
to support translation and versioning of web documents:
The combination of these three attributes is unique into the system. They are
used internally so that in an website we are sure that user will get the
translated and most recent document.
The criteria for selecting right document are:
Note: In the context of ERP5 Web a document can be Web Page,
File, Image and so on. So all rules for selecting the right document applies to