« ExtraList/en » : différence entre les versions

De Documentations Patas-monkey
Aller à la navigation Aller à la recherche
Liam (discussion | contributions)
Page créée avec « <youtube>9NqynenRUv4</youtube> ==Main page== From the main menu of the patas-monkey tools, the left menu extralist presents the list of customizable lists of the tool {| class="wikitable" |- style="vertical-align:top;" | 600px | Each block represents a customizable list containing: * The management of additional attributes available * The management of additional fields already added to the list * The management of the criteria for hi... »
Liam (discussion | contributions)
Page créée avec « == Managing additional fields == After pressing the additional attribute selection icon, a screen displays the fields already configured and allows you to add new ones. {| class="wikitable" |- style="vertical-align:top;" | 600px | Pressing the second gray icon allows you to access the list of additional fields that have already been defined From the list, it is possible to modify an existing field (icon at the beginning of t... »
Ligne 25 : Ligne 25 :
|}
|}


<div lang="fr" dir="ltr" class="mw-content-ltr">
== Custom Attribute Management==
== Gestion des attributs personnalisés==
After pressing the additional attribute selection icon, a screen displays the available fields
Après avoir appuyé sur l'icone de sélection des attributs supplémentaires, un écran présente les champs disponibles
{| class="wikitable"
{| class="wikitable"  
|- style="vertical-align:top;"
|- style="vertical-align:top;"  
| [[File:extralist_extrafieldsfields.png|600px]]
| [[File:extralist_extrafieldsfields.png|600px]]
| L'appuie sur le premier icone orange permet de sélectionner les attributs disponible pour la liste que l'on souhaite afficher
| Pressing the first orange icon allows you to select the attributes available for the list you want to display
Il suffit de cliquer sur le sélecteur en bout de ligne pour activer ou non le champs dans la liste
Just click on the selector at the end of the line to activate or not the field in the list
|}
|}
</div>


<div lang="fr" dir="ltr" class="mw-content-ltr">
== Managing additional fields ==
== Gestion des champs supplémentaires==
After pressing the additional attribute selection icon, a screen displays the fields already configured and allows you to add new ones.
Après avoir appuyé sur l'icone de sélection des attributs supplémentaires, un écran présente les champs déjà paramétrés et permet d'en ajouter de nouveau.
{| class="wikitable"
{| class="wikitable"  
|- style="vertical-align:top;"
|- style="vertical-align:top;"  
| [[File:extralist_extralistfields.png|600px]]
| [[File:extralist_extralistfields.png|600px]]
| L'appuie sur le second icone gris permet d'accéder à la liste des champs supplémentaires que l'on a déjà défini
| Pressing the second gray icon allows you to access the list of additional fields that have already been defined
A partir de la liste, il est possible de modifier un champ déjà existant (icone en début de ligne) ou de le supprimer (icone en bout de ligne)
From the list, it is possible to modify an existing field (icon at the beginning of the line) or to delete it (icon at the end of the line)
|}
|}
</div>


<div lang="fr" dir="ltr" class="mw-content-ltr">
=== Adding a new field ===
=== Ajout d'un nouveau champs ===
{| class="wikitable"
{| class="wikitable"  
|- style="vertical-align:top;"
|- style="vertical-align:top;"  
| [[File:extralist_extralistfieldsadd.png|600px]]
| [[File:extralist_extralistfieldsadd.png|600px]]
| L'appuie sur l'icone (+) au bout du titre permet de créer un nouveau champ personnalisé, il sera possible de saisir alors
| Pressing the (+) icon at the end of the title allows you to create a new custom field, it will then be possible to enter
* Le libellé du champ que l'on souhaite ajouter
* The label of the field you want to add
* Le nom du champ dans la base de donnée avec son préfix (comme par exemple s. pour société, p. pour projet, ...), il est possible d'employer un alias (si on utilise paramètre un champ calculé).
* The name of the field in the database with its prefix (such as s. for company, p. for project, ...), it is possible to use an alias (if you use a calculated field parameter).
* Le type de champs afin de mieux en gérer le format de présentation sur la liste
* The type of fields in order to better manage the presentation format on the list
|}
|}
</div>


<div lang="fr" dir="ltr" class="mw-content-ltr">
<div lang="fr" dir="ltr" class="mw-content-ltr">

Version du 5 février 2025 à 15:11

The ExtraList module allows you to add fields to the native lists of dolibarr, from custom attributes or other fields not initially provided for in the list:
  • selection of additional attributes available for the list
  • addition of additional fields available in the native tables of the list or added in a joined table for the field
  • highlighting of lines according to a selection criterion
  • Displaying the categories associated with an element

The fields thus added are then displayed in the field selector of the list and can be used like any other native field

Main page

From the main menu of the patas-monkey tools, the left menu extralist presents the list of customizable lists of the tool

Each block represents a customizable list containing:
  • The management of additional attributes available
  • The management of additional fields already added to the list
  • The management of the criteria for highlighting the list

The number at the end of the line indicates if there is already a setting made

Custom Attribute Management

After pressing the additional attribute selection icon, a screen displays the available fields

Pressing the first orange icon allows you to select the attributes available for the list you want to display

Just click on the selector at the end of the line to activate or not the field in the list

Managing additional fields

After pressing the additional attribute selection icon, a screen displays the fields already configured and allows you to add new ones.

Pressing the second gray icon allows you to access the list of additional fields that have already been defined

From the list, it is possible to modify an existing field (icon at the beginning of the line) or to delete it (icon at the end of the line)

Adding a new field

Pressing the (+) icon at the end of the title allows you to create a new custom field, it will then be possible to enter
  • The label of the field you want to add
  • The name of the field in the database with its prefix (such as s. for company, p. for project, ...), it is possible to use an alias (if you use a calculated field parameter).
  • The type of fields in order to better manage the presentation format on the list

Edition d'un champ existant

L'appuie sur l'icone en forme de style en début de ligne permet de afficher le paramétrage du champ personnalisé.

Gestion de la jointure de table

Il est possible de rajouter une jointure SQL vers une ou plusieurs tables si le champ n'est pas présent dans les tables utilisés par la liste.

Attention cette fonctionnalité demande de connaitre à la fois le SQL et la structuration des tables de Dolibarr.

Nous proposons en support payant sur notre site https://www.patas-monkey.com/boutique de vous accompagner sur cette fonctionnalité

Fonctionnement des nouveaux champs

Une fois le paramétrage réalisé, il est possible d'accéder aux nouveaux champs à partir du sélecteur de champs natif de la liste.

Si il y a des champs ajoutés par ExtraList dans la liste, l'icone de sélection des champs change de couleur
  • Les champs issus d'attributs supplémentaires présente l'élément dont ils proviennent
  • Les champs ajoutés sont préfixé avec "EL"

Gestion des lignes surlignées

L'appuie sur l'icone (+) au bout du titre permet de créer une nouvelle sélection de surlignage
  • sélection des champs qui peuvent être utilisé pour le filtrage
  • la couleur utilisée pour le surlignage
  • le type de filtrage (égale, différent, inférieur, ...)
  • la valeur associé au filtrage

Il est possible pour la valeur de filtrage d'utiliser des valeurs prédéfinies comme #NOW# pour la date du jour ou #USERID# pour l'utilisateur en cours

Il est aussi possible d'avoir plusieurs filtrage pour une même liste

L'appuie sur l'icone en forme de stylo permet de modifier le surlignage

Gestion de l'affichage des catégories

Il est possible d'afficher sur la liste les catégories des éléments en activant la coche au niveau du paramétrage de l'élément sur la page d'index du module.

Une colonne affichant la ou les catégories (dans un tooltip alors) associé à l'élément est sélectionnable.