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.)
 
(8 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}}
{{ToTranslate}}
 
 
== Introduction ==
 
 
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 llx_constant.
 
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 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 ==
+
= Introduction =
* SIZE_LISTE_LIMIT  Longeur maximum par défaut des listes sur les écrans
+
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).
* MAIN_THEME        Le nom du thème par défaut
 
* MAIN_DEBUG
 
* MAIN_APPLICATION_TITLE
 
* MAIN_SPIP_DB      Nom de la base de données SPIP
 
* MAIN_SPIP_PASS
 
  
== [[Module Adhérents]] ==
+
'''Global setup (all users)'''
* A compléter
 
  
== [[Module Propositions commerciales]] ==
+
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 Facture]] ==
+
All this constants can be edtited from menu "''Home - Setup''" (every data in this menu and submenus are saved in this table).
A completer
+
The page "''Home - System Tools - Dolibarr - All parameters''" can be used to view name/value pairs of all parameters.
  
== [[Module Dons]] ==
+
'''By user setup'''
* DONS_FORM
 
  
== [[Module OSCommerce]] ==
+
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.
* OSC_DB_NAME : Nom de la base de données d'oscommerce
+
Other fields in this table are not mandatory. The field '''note''' contains a description of the goal of parameter.
* OSC_CATALOG_URL : URL du catalogue Oscommerce
 
* OSC_CATALOG_DIRECTORY
 
* OSC_DIRECTORY
 
* OSC_IMAGE_DEFAULT
 
  
== [[Module Postnuke]] ==
+
All thoose parameters can be edited from the user card, tab "''User setup''".
* PN_DB_NAME      Nom de la base Postnuke
 
* PN_TABLE_STORIES_NAME
 

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".