Difference between revisions of "Constants"

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
m (Import interlang links (links to translated versions of this page in other languages) from Multi Language Manager table.)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
<!-- BEGIN origin interlang links -->
 +
<!-- You can edit this section but do NOT remove these comments
 +
    Links below will be automatically replicated on translated pages by PolyglotBot -->
 +
[[fr:Constantes]]
 +
[[es:Constantes_ES]]
 +
<!-- END interlang links -->
 +
 
{{TemplateDocDev}}
 
{{TemplateDocDev}}
  
 
= Introduction =
 
= Introduction =
{{ToTranslate}}
+
Dolibarr setup is done on 2 levels. First level is global (setup applies for every users) and second level is by user (setup applies for a particular user only).
La configuration de Dolibarr agit sur 2 niveaux. Le niveau global (configuration propre à tous les utilisateurs) et le niveau par utilisateur (configuration propre à chaque utilisateur).
 
 
 
'''Configuration globale (tout utilisateur)'''
 
 
 
L'ensemble de la configuration globale de dolibarr est stocké dans la table [[Table llx_const|llx_const]]..
 
Chaque paramètre de configuration est défini par une constante et une valeur.
 
Toutes ces constantes peuvent etre éditées depuis le menu "''Accueil - Configuration''"
 
 
 
'''Configuration par utilisateur'''
 
 
 
L'ensemble de la configuration utilisateur de dolibarr est stocké dans la table [[Table llx_user_param|llx_user_param]]. C'est le champ fk_user qui contient l'id de l'utilisateur concerné.
 
Toutes ces constantes peuvent etre éditées depuis la fiche de l'utilisateur, onglet "''Paramètres utilisateurs''"
 
 
 
La suite de l'article liste toutes les constantes de configurations utilisées par Dolibarr
 
  
= Constantes générales =
+
'''Global setup (all users)'''
* SIZE_LISTE_LIMIT  Longeur maximum par défaut des listes sur les écrans
 
* MAIN_THEME        Le nom du thème par défaut
 
* MAIN_DEBUG
 
* MAIN_APPLICATION_TITLE
 
  
= [[Module Adhérents]] =
+
All global setup is saved into table [[Table llx_const|llx_const]].
* A compléter
+
Each parameter is defined by a key (name of parameter) and a value in this tables.
 +
Other fields in this table are not mandatory. The field '''note''' contains a description of the goal of parameter.
 +
The field '''entity''' can be 0 or 1. It will be used to other value when a feature to save several instances of Dolibarr in just one database will be ready.
  
= [[Module Propositions commerciales]] =
+
All this constants can be edtited from menu "''Home - Setup''" (every data in this menu and submenus are saved in this table).
* A compléter
+
The page "''Home - System Tools - Dolibarr - All parameters''" can be used to view name/value pairs of all parameters.
  
= [[Module Facture]] =
+
'''By user setup'''
A completer
 
  
= [[Module Dons]] =
+
All setup particular to a user is saved into table [[Table llx_user_param|llx_user_param]]. In this table, the field '''fk_user''' contains the id of concerned user. You will find also a key (name) and a value.
* DONS_FORM
+
Other fields in this table are not mandatory. The field '''note''' contains a description of the goal of parameter.
  
= [[Module OSCommerce]] =
+
All thoose parameters can be edited from the user card, tab "''User setup''".
* OSC_DB_NAME : Nom de la base de données d'oscommerce
 
* OSC_CATALOG_URL : URL du catalogue Oscommerce
 
* OSC_CATALOG_DIRECTORY
 
* OSC_DIRECTORY
 
* OSC_IMAGE_DEFAULT
 

Latest revision as of 13:20, 23 July 2019


Introduction

Dolibarr setup is done on 2 levels. First level is global (setup applies for every users) and second level is by user (setup applies for a particular user only).

Global setup (all users)

All global setup is saved into table llx_const. Each parameter is defined by a key (name of parameter) and a value in this tables. Other fields in this table are not mandatory. The field note contains a description of the goal of parameter. The field entity can be 0 or 1. It will be used to other value when a feature to save several instances of Dolibarr in just one database will be ready.

All this constants can be edtited from menu "Home - Setup" (every data in this menu and submenus are saved in this table). The page "Home - System Tools - Dolibarr - All parameters" can be used to view name/value pairs of all parameters.

By user setup

All setup particular to a user is saved into table llx_user_param. In this table, the field fk_user contains the id of concerned user. You will find also a key (name) and a value. Other fields in this table are not mandatory. The field note contains a description of the goal of parameter.

All thoose parameters can be edited from the user card, tab "User setup".