« WATERBEAR:Villes » : différence entre les versions

De WIKI sur Linux (ADB)
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
 
(3 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
__FORCETOC__
=But=
=But=
Cette article concerne la gestion des adresses des lecteurs, partie ville.
Cette article concerne la gestion des adresses des lecteurs, partie ville.
Ligne 5 : Ligne 6 :
Mais dans certains cas, c'est impossible, par exemple si on est dans un autre pays ou proche de la frontière.
Mais dans certains cas, c'est impossible, par exemple si on est dans un autre pays ou proche de la frontière.
Cet écran de recherche permet d'avoir une complète et d'y effectuer des corrections.
Cet écran de recherche permet d'avoir une complète et d'y effectuer des corrections.
=Procédure=
Cette procédure fait intervenir l'utilisation du registre. Elle est longue et fastidieuse mais on peut s'aider de ce qui existe dans d'autres domaines.
==Ajout dans le menu d'accueil==
Nous allons dans le registre à l'adresse:
profiles/defaut/pages/bib/accueil/_parametres/barre_menu1/21 - rechercher/sections/02 - lecteurs/menus/03 - villes
:=> 03 - villes
::=> titre = rechercher_villes
::=> url = bib.php?module=catalogue/recherches/formulaires/ville/standard
Le code à injecter via l'outil d'importation dans le registre est:
----
[{"type":"supprimer_noeud","chemin":"profiles\\/defaut\\/pages\\/bib\\/accueil\\/_parametres\\/barre_menus1\\/21 - rechercher\\/sections\\/02 - lecteurs\\/menus\\/03 - villes","nom":"03 - villes","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/pages\\/bib\\/accueil\\/_parametres\\/barre_menus1\\/21 - rechercher\\/sections\\/02 - lecteurs\\/menus","nom":"03 - villes","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/pages\\/bib\\/accueil\\/_parametres\\/barre_menus1\\/21 - rechercher\\/sections\\/02 - lecteurs\\/menus\\/03 - villes","nom":"titre","valeur":"rechercher_villes","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/pages\\/bib\\/accueil\\/_parametres\\/barre_menus1\\/21 - rechercher\\/sections\\/02 - lecteurs\\/menus\\/03 - villes","nom":"url","valeur":"bib.php?module=catalogue\\/recherches\\/formulaires\\/ville\\/standard","description":""}
]
----
==Adaptation des critères de recherche==
Il y a deux critères de recherche: la ville et le code postal. Cette adaptation consiste à proposer une liste déroulante de propositions interactivement en fonction de ce qui est introduit dans la zone de recherche. Cette approche nécessite quatre étapes successives, qui sont dépendantes entre elles via la succession séquentielle des plugins.
===Ville===
*Critères autocomplete
Nous allons dans le registre à l'adresse:
profiles/defaut/plugins/plugins/catalogue/recherches/criteres/ville/standard/ville
:=> nom
::=> chemin_fichier = div
::=> nom_fonction = plugins_2_array
::=> parametres
:::=> !!booleens
::::=> nom_plugin = catalogue/recherches/booleens/standard
:::=> !!types_recherches
::::=> nom_plugin = catalogue/recherches/listes_types_recherches/defaut
:::=> ??critere_intitule = bib/catalogue/recherches/criteres/ville/standard/nom
:::=> autoplugin
::::=> nom_plugin = catalogue/recherches/criteres/ville/standard/nom
:::=> critere = a_nom
:::=> type_champ = autocomplete
:::=> ws_url = bib_ws.php?module=autocomplete/ville/standard/nom&
Habituellement le "type_champs" a pour valeur "textbox", c'est-à-dire un champs à entrée libre. Ici on a "autocomplete", c'est-à-dire, qu'on va activer une liste déroulante dynamique qui s'adapte en fonction de ce qui est déjà introduit dans le champs d'entrée. Pour y arriver, le Web Service, travaillant en tâche de fond (&), est appelé via le noeud "ws_url". Au point suivant, nous aborderons ce Web Service.
Le code à injecter via l'outil d'importation dans le registre est:
----
[{"type":"supprimer_noeud","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/nom","nom":"nom","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard","nom":"nom","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/nom","nom":"chemin_fichier","valeur":"div","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/nom","nom":"nom_fonction","valeur":"plugins_2_array","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/nom","nom":"parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/nom\\/parametres","nom":"!!booleens","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/nom\\/parametres\\/!!booleens","nom":"nom_plugin","valeur":"catalogue\\/recherches\\/booleens\\/standard","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/nom\\/parametres","nom":"!!types_recherches","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/nom\\/parametres\\/!!types_recherches","nom":"nom_plugin","valeur":"catalogue\\/recherches\\/listes_types_recherches\\/defaut","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/nom\\/parametres","nom":"??critere_intitule","valeur":"bib\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/nom","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/nom\\/parametres","nom":"autoplugin","valeur":"","description":"nom de ce plugin lui-m\\u00eame. permettra de recharger une recherche sauvegarder dans un panier dynamique"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/nom\\/parametres\\/autoplugin","nom":"nom_plugin","valeur":"catalogue\\/recherches\\/criteres\\/ville\\/standard\\/nom","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/nom\\/parametres","nom":"critere","valeur":"a_nom","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/nom\\/parametres","nom":"type_champ","valeur":"autocomplete","description":"TMP !! mettre autocomplete\\n\\n"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/nom\\/parametres","nom":"ws_url","valeur":"bib_ws.php?module=autocomplete\\/ville\\/standard\\/nom&","description":"ADB modif\\n\\nancien:\\nbib_ws.php?module=autocomplete\\/ville\\/standard\\/defaut&"}
]
----
* Web service
Nous allons dans le registre à l'adresse:
profiles/defaut/pages/bib_ws/autocomplete/ville/standard/nom
:=> nom
::=> _page = bib_ws/catalogue/catalogage/recherches.php
::=> _parametres
:::=> plugin_recherche
::::=> nom_plugin = catalogue/recherches/autocomplete/recherche_simple/ville/standard/nom
Ce Web Service délègue sont travail au plugin de recherche en paramètre. Au point suivant, on analyse ce plugin.
Le code à injecter via l'outil d'importation dans le registre est:
----
[{"type":"supprimer_noeud","chemin":"profiles\\/defaut\\/pages\\/bib_ws\\/autocomplete\\/ville\\/standard\\/nom","nom":"nom","valeur":"","description":"ADB ajout"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/pages\\/bib_ws\\/autocomplete\\/ville\\/standard","nom":"nom","valeur":"","description":"ADB ajout"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/pages\\/bib_ws\\/autocomplete\\/ville\\/standard\\/nom","nom":"_page","valeur":"bib_ws\\/catalogue\\/catalogage\\/recherches.php","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/pages\\/bib_ws\\/autocomplete\\/ville\\/standard\\/nom","nom":"_parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/pages\\/bib_ws\\/autocomplete\\/ville\\/standard\\/nom\\/_parametres","nom":"plugin_recherche","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/pages\\/bib_ws\\/autocomplete\\/ville\\/standard\\/nom\\/_parametres\\/plugin_recherche","nom":"nom_plugin","valeur":"catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/nom","description":""}
]
----
* Recherche
Nous allons dans le registre à l'adresse:
profiles/defaut/plugins/plugins/catalogue/recherches/autocomplete/recherche_simple/ville/standard/nom
:=> nom
::=> chemin_fichier = catalogue/recherches
::=> nom_fonction = recherche_simple
::=> parametres
:::=> param_recherche
::::=> bool_parse_contenu = 0
::::=> criteres
:::::=> 01 - nom
::::::=> ##valeur_critere = query
::::::=> intitule_critere = a_nom
::::::=> type_recherche = str_contient_last_commence
::::=> format_resultat = formate
::::=> plugin_formate_liste
::::=> plugin_formate_notice
:::::=> alias
::::::=> ligne = tableau
:::::=> alias_retour
::::::=> texte = /
:::::=> nom_plugin = catalogue/marcxml/formatage/ville/autocomplete/standard/nom
::::=>  type_objet = ville
::=> _compile => 1
Ce plugin de recherche va interroger la table de la base de données obj_ville_acces ("type_objet = ville") au champs "a_nom". "a_nom" contient les noms des villes. Et il formate le résultat sous forme d'un tableau ("plugin_formate_liste"). Son contenu est formaté ("plugin_formate_notice") via le plugin se trouvant dans la zone du registre "marcxml/formatage" spécialisé dans ce type de travail. On va le voir.
Le code à injecter via l'outil d'importation dans le registre est:
----
[{"type":"supprimer_noeud","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/nom","nom":"nom","valeur":"nom","description":"ADB ajout"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard","nom":"nom","valeur":"","description":"ADB ajout"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/nom","nom":"chemin_fichier","valeur":"catalogue\\/recherches","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/nom","nom":"nom_fonction","valeur":"recherche_simple","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/nom","nom":"parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/nom\\/parametres","nom":"param_recherche","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/nom\\/parametres\\/param_recherche","nom":"bool_parse_contenu","valeur":"0","description":"Aura-t-on besoin de parser la notice en XML ??"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/nom\\/parametres\\/param_recherche","nom":"criteres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/nom\\/parametres\\/param_recherche\\/criteres","nom":"01 - nom","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/nom\\/parametres\\/param_recherche\\/criteres\\/01 - nom","nom":"##valeur_critere","valeur":"query","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/nom\\/parametres\\/param_recherche\\/criteres\\/01 - nom","nom":"intitule_critere","valeur":"a_nom","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/nom\\/parametres\\/param_recherche\\/criteres\\/01 - nom","nom":"type_recherche","valeur":"str_contient_last_commence","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/nom\\/parametres\\/param_recherche","nom":"format_resultat","valeur":"formate","description":"str_sql => la phrase sql\\n\\nformate => on appelle des plugins pour mettre en forme le resultat\\n\\ndonnees => tableau contenant les r\\u00e9sultats PLUS un champ [xml] avec la notice xml"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/nom\\/parametres\\/param_recherche","nom":"plugin_formate_liste","valeur":"","description":"plugin utilis\\u00e9 pour mettre en forme la liste. Si aucun fourni, retourn\\u00e9 sous forme de tableau php"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/nom\\/parametres\\/param_recherche","nom":"plugin_formate_notice","valeur":"","description":"notice utilis\\u00e9e pour formater CHAQUE notice"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/nom\\/parametres\\/param_recherche\\/plugin_formate_notice","nom":"alias","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/nom\\/parametres\\/param_recherche\\/plugin_formate_notice\\/alias","nom":"ligne","valeur":"tableau","description":"on renomme la variable $ligne en $tableau"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/nom\\/parametres\\/param_recherche\\/plugin_formate_notice","nom":"alias_retour","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/nom\\/parametres\\/param_recherche\\/plugin_formate_notice\\/alias_retour","nom":"texte","valeur":"\\/","description":"on ne r\\u00e9cup\\u00e8re que [resultat][texte] qu\'on met directement en [resultat]"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/nom\\/parametres\\/param_recherche\\/plugin_formate_notice","nom":"nom_plugin","valeur":"catalogue\\/marcxml\\/formatage\\/ville\\/autocomplete\\/standard\\/nom","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/nom\\/parametres\\/param_recherche","nom":"type_objet","valeur":"ville","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/nom","nom":"_compile","valeur":"1","description":""}
]
----
* Formatage des résultats
Nous allons dans le registre à l'adresse:
profiles/defaut/plugins/plugins/catalogue/marcxml/formatage/ville/autocomplete/standard/nom
:=> nom
::=> chemin_fichier = catalogue/marcxml
::=> nom_fonction = get_colonnes_array
::=> parametres
:::=> colonnes
::::=> 01 - nom
:::::=> nom_champ = nom
:::::=> nom_colonne = a_nom
Le champs "a_nom" de la table "obj_ville_acces" récupéré comme valeur du tableau à la colonne "nom".
Le code à injecter via l'outil d'importation dans le registre est:
----
[{"type":"supprimer_noeud","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/autocomplete\\/standard\\/nom","nom":"nom","valeur":"","description":"ADB ajout"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/autocomplete\\/standard","nom":"nom","valeur":"","description":"ADB ajout"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/autocomplete\\/standard\\/nom","nom":"chemin_fichier","valeur":"catalogue\\/marcxml","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/autocomplete\\/standard\\/nom","nom":"nom_fonction","valeur":"get_colonnes_array","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/autocomplete\\/standard\\/nom","nom":"parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/autocomplete\\/standard\\/nom\\/parametres","nom":"colonnes","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/autocomplete\\/standard\\/nom\\/parametres\\/colonnes","nom":"01 - nom","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/autocomplete\\/standard\\/nom\\/parametres\\/colonnes\\/01 - nom","nom":"nom_champ","valeur":"nom","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/autocomplete\\/standard\\/nom\\/parametres\\/colonnes\\/01 - nom","nom":"nom_colonne","valeur":"a_nom","description":""}
]
----
===Code postal===
* Critère autocomplete
Nous allons dans le registre à l'adresse:
profiles/defaut/plugins/plugins/catalogue/recherches/criteres/ville/standard/cp
:=> cp
::=> chemin_fichier = div
::=> nom_fonction = plugins_2_array
::=> parametres
:::=> !!booleens
::::=> nom_plugin = catalogue/recherches/booleens/standard
:::=> !!types_recherches
::::=> nom_plugin = catalogue/recherches/listes_types_recherches/defaut
:::=> ??critere_intitule = bib/catalogue/recherches/criteres/ville/standard/cp
:::=> autoplugin
::::=> nom_plugin = catalogue/recherches/criteres/ville/standard/cp
:::=> critere = a_cp
:::=> type_champ = autocomplete
:::=> ws_url = bib_ws.php?module=autocomplete/ville/standard/cp&
Le code à injecter via l'outil d'importation dans le registre est:
----
[{"type":"supprimer_noeud","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/cp","nom":"cp","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard","nom":"cp","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/cp","nom":"chemin_fichier","valeur":"div","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/cp","nom":"nom_fonction","valeur":"plugins_2_array","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/cp","nom":"parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/cp\\/parametres","nom":"!!booleens","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/cp\\/parametres\\/!!booleens","nom":"nom_plugin","valeur":"catalogue\\/recherches\\/booleens\\/standard","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/cp\\/parametres","nom":"!!types_recherches","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/cp\\/parametres\\/!!types_recherches","nom":"nom_plugin","valeur":"catalogue\\/recherches\\/listes_types_recherches\\/defaut","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/cp\\/parametres","nom":"??critere_intitule","valeur":"bib\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/cp","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/cp\\/parametres","nom":"autoplugin","valeur":"","description":"nom de ce plugin lui-m\\u00eame. permettra de recharger une recherche sauvegarder dans un panier dynamique"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/cp\\/parametres\\/autoplugin","nom":"nom_plugin","valeur":"catalogue\\/recherches\\/criteres\\/ville\\/standard\\/cp","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/cp\\/parametres","nom":"critere","valeur":"a_cp","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/cp\\/parametres","nom":"type_champ","valeur":"autocomplete","description":"ADB modif \\n\\nancien: textbox\\n\\nTMP !! mettre autocomplete"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/criteres\\/ville\\/standard\\/cp\\/parametres","nom":"ws_url","valeur":"bib_ws.php?module=autocomplete\\/ville\\/standard\\/cp&","description":"ADB modif\\n\\nancien:\\nbib_ws.php?module=catalogue\\/catalogage\\/recherches\\/ville\\/unimarc_standard\\/700_9a&"}
]
----
* Web service
Nous allons dans le registre à l'adresse:
profiles/defaut/pages/bib_ws/autocomplete/ville/standard/cp
:=> cp
::=> _page = bib_ws/catalogue/catalogage/recherches.php
::=> _parametres
:::=> plugin_recherche
::::=> nom_plugin = catalogue/recherches/autocomplete/recherche_simple/ville/standard/cp
Le code à injecter via l'outil d'importation dans le registre est:
----
[{"type":"supprimer_noeud","chemin":"profiles\\/defaut\\/pages\\/bib_ws\\/autocomplete\\/ville\\/standard\\/cp","nom":"cp","valeur":"","description":"ADB ajout"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/pages\\/bib_ws\\/autocomplete\\/ville\\/standard","nom":"cp","valeur":"","description":"ADB ajout"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/pages\\/bib_ws\\/autocomplete\\/ville\\/standard\\/cp","nom":"_page","valeur":"bib_ws\\/catalogue\\/catalogage\\/recherches.php","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/pages\\/bib_ws\\/autocomplete\\/ville\\/standard\\/cp","nom":"_parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/pages\\/bib_ws\\/autocomplete\\/ville\\/standard\\/cp\//_parametres","nom":"plugin_recherche","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/pages\\/bib_ws\\/autocomplete\\/ville\\/standard\\/cp\\/_parametres\\/plugin_recherche","nom":"nom_plugin","valeur":"catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/cp","description":""}
]
----
* Recherche
Nous allons dans le registre à l'adresse:
profiles/defaut/plugins/plugins/catalogue/recherches/autocomplete/recherche_simple/ville/standard/cp
:=> cp
::=> chemin_fichier = catalogue/recherches
::=> nom_fonction = recherche_simple
::=> parametres
:::=> param_recherche
::::=> bool_parse_contenu = 0
::::=> criteres
:::::=> 01 - cp
::::::=> ##valeur_critere = query
::::::=> intitule_critere = a_cp
::::::=> type_recherche = str_contient_last_commence
::::=> format_resultat = formate
::::=> plugin_formate_liste
::::=> plugin_formate_notice
:::::=>  alias
::::::=> ligne = tableau
:::::=> alias_retour
::::::=> texte = /
:::::=> nom_plugin = catalogue/marcxml/formatage/ville/autocomplete/standard/cp
::::=> type_objet = ville
::=> _compile = 1
Le code à injecter via l'outil d'importation dans le registre est:
----
[{"type":"supprimer_noeud","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/cp","nom":"cp","valeur":"","description":"ADB ajout"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard","nom":"cp","valeur":"","description":"ADB ajout"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/cp","nom":"chemin_fichier","valeur":"catalogue\\/recherches","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/cp","nom":"nom_fonction","valeur":"recherche_simple","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/cp","nom":"parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/cp\\/parametres","nom":"param_recherche","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/cp\\/parametres\\/param_recherche","nom":"bool_parse_contenu","valeur":"0","description":"Aura-t-on besoin de parser la notice en XML ??"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/cp\\/parametres\\/param_recherche","nom":"criteres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/cp\\/parametres\\/param_recherche\\/criteres","nom":"01 - cp","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/cp\\/parametres\\/param_recherche\\/criteres\\/01 - cp","nom":"##valeur_critere","valeur":"query","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/cp\\/parametres\\/param_recherche\\/criteres\\/01 - cp","nom":"intitule_critere","valeur":"a_cp","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/cp\\/parametres\\/param_recherche\\/criteres\\/01 - cp","nom":"type_recherche","valeur":"str_contient_last_commence","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/cp\\/parametres\\/param_recherche","nom":"format_resultat","valeur":"formate","description":"str_sql => la phrase sql\\n\\nformate => on appelle des plugins pour mettre en forme le resultat\\n\\ndonnees => tableau contenant les r\\u00e9sultats PLUS un champ [xml] avec la notice xml"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/cp\\/parametres\\/param_recherche","nom":"plugin_formate_liste","valeur":"","description":"plugin utilis\\u00e9 pour mettre en forme la liste. Si aucun fourni, retourn\\u00e9 sous forme de tableau php"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/cp\\/parametres\\/param_recherche","nom":"plugin_formate_notice","valeur":"","description":"notice utilis\\u00e9e pour formater CHAQUE notice"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/cp\\/parametres\\/param_recherche\\/plugin_formate_notice","nom":"alias","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/cp\\/parametres\\/param_recherche\\/plugin_formate_notice\\/alias","nom":"ligne","valeur":"tableau","description":"on renomme la variable $ligne en $tableau"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/cp\\/parametres\\/param_recherche\\/plugin_formate_notice","nom":"alias_retour","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/cp\\/parametres\\/param_recherche\\/plugin_formate_notice\\/alias_retour","nom":"texte","valeur":"\\/","description":"on ne r\\u00e9cup\\u00e8re que [resultat][texte] qu\'on met directement en [resultat]"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/cp\\/parametres\\/param_recherche\\/plugin_formate_notice","nom":"nom_plugin","valeur":"catalogue\\/marcxml\\/formatage\\/ville\\/autocomplete\\/standard\\/cp","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/cp\\/parametres\\/param_recherche","nom":"type_objet","valeur":"ville","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/recherches\\/autocomplete\\/recherche_simple\\/ville\\/standard\\/cp","nom":"_compile","valeur":"1","description":""}
]
----
* Formatage des résultats
Nous allons dans le registre à l'adresse:
profiles/defaut/plugins/plugins/catalogue/marcxml/formatage/ville/autocomplete/standard/cp
:=> cp
::=> chemin_fichier = catalogue/marcxml
::=> nom_fonction = get_colonnes_array
::=> parametres
:::=> colonnes
::::=> 01 - cp
:::::=> nom_champ = nom
:::::=> nom_colonne = a_cp
Le code à injecter via l'outil d'importation dans le registre est:
----
[{"type":"supprimer_noeud","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/autocomplete\\/standard\\/cp","nom":"cp","valeur":"","description":"ADB ajout"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/autocomplete\\/standard","nom":"cp","valeur":"","description":"ADB ajout"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/autocomplete\\/standard\\/cp","nom":"chemin_fichier","valeur":"catalogue\\/marcxml","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/autocomplete\\/standard\\/cp","nom":"nom_fonction","valeur":"get_colonnes_array","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/autocomplete\\/standard\\/cp","nom":"parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/autocomplete\\/standard\\/cp\\/parametres","nom":"colonnes","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/autocomplete\\/standard\\/cp\\/parametres\\/colonnes","nom":"01 - cp","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/autocomplete\\/standard\\/cp\\/parametres\\/colonnes\\/01 - cp","nom":"nom_champ","valeur":"nom","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/autocomplete\\/standard\\/cp\\/parametres\\/colonnes\\/01 - cp","nom":"nom_colonne","valeur":"a_cp","description":""}
]
----
==Ajout des accès au code de quartier==
Nous allons dans le registre à l'adresse:
profiles/defaut/plugins/plugins/catalogue/marcxml/formatage/ville/acces/cq
:=> cq
::=> chemin_fichier = catalogue/marcxml
::=> nom_fonction = get_datafields
::=> parametres
:::=> champs
::::=> 001 - champ 200
:::::=> sous-champs
::::::=> 001 - $c
:::::::=> code = c
::::=> tag = 200
Le code à injecter via l'outil d'importation dans le registre est:
----
[{"type":"supprimer_noeud","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/acces\\/cq","nom":"cq","valeur":"","description":"ADB"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/acces","nom":"cq","valeur":"","description":"ADB"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/acces\\/cq","nom":"chemin_fichier","valeur":"catalogue\\/marcxml","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/acces\\/cq","nom":"nom_fonction","valeur":"get_datafields","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/acces\\/cq","nom":"parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/acces\\/cq\\/parametres","nom":"champs","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/acces\\/cq\\/parametres\\/champs","nom":"001 - champ 200","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/acces\\/cq\\/parametres\\/champs\\/001 - champ 200","nom":"sous-champs","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/acces\\/cq\\/parametres\\/champs\\/001 - champ 200\\/sous-champs","nom":"001 - $c","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/acces\\/cq\\/parametres\\/champs\\/001 - champ 200\\/sous-champs\\/001 - $c","nom":"code","valeur":"c","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/acces\\/cq\\/parametres\\/champs\\/001 - champ 200","nom":"tag","valeur":"200","description":""}
]
----
==Modifier l'entête de tableau==
Nous allons dans le registre à l'adresse:
profiles/defaut/plugins/plugins/catalogue/marcxml/formatage/ville/liste/tableau_ville_cp/parametres/avant
dont la valeur est:
<nowiki><table><tr><td><b>Ville</b></td><td><b>Code postale</b></td><td><b>Code quartier</b></td></nowiki>
Le code à injecter via l'outil d'importation dans le registre est:
----
[{"type":"supprimer_noeud","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/liste\\/tableau_ville_cp\\/parametres\\/avant","nom":"avant","valeur":"<nowiki><table><tr><td><b>Ville<\\/b><\\/td><td><b>Code postale<\\/b><\\/td><td><b>Code quartier<\\/b><\\/td></nowiki>","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/liste\\/tableau_ville_cp\\/parametres","nom":"avant","valeur":"<nowiki><table><tr><td><b>Ville<\\/b><\\/td><td><b>Code postale<\\/b><\\/td><td><b>Code quartier<\\/b><\\/td></nowiki>","description":"ADB"}
]
----
==Adapter le contenu des tableaux==
Nous allons dans le registre à l'adresse:
profiles/defaut/plugins/plugins/catalogue/marcxml/formatage/ville/notice
:=> notice
::=> tableau_ville_cp
:::=> chemin_fichier = catalogue/marcxml
:::=> nom_fonction = get_datafields
:::=> parametres
::::=> champs
:::::=> 01 - 200
::::::=> apres = <nowiki></tr></nowiki>
::::::=> avant = <nowiki><tr><td></nowiki>
::::::=> sous-champs
:::::::=> 01 - a - nom
::::::::=> !!apres
:::::::::=> alias_retour
::::::::::=> texte = /
:::::::::=> nom_plugin = catalogue/marcxml/formatage/biblio/elem_notice/structure/objet_cliquable_apres
::::::::=> !!avant
:::::::::=> alias_retour
::::::::::=> texte = /
:::::::::=> nom_plugin = catalogue/marcxml/formatage/ville/elem_notice/structure/objet_cliquable_avant
:::::::::=> parametres
::::::::::=> ##notice = ligne
::::::::=> code = a
::::::::=> defaut = sans titre
:::::::=> 02 - b - cp
::::::::=> apres = <nowiki></td></nowiki>
::::::::=> avant = <nowiki><td></nowiki>
::::::::=> code = b
::::::::=> defaut = &amp;nbsp;
:::::::=> 03 - c - cq
::::::::=> apres = <nowiki></td></nowiki>
::::::::=> avant = <nowiki><td></nowiki>
::::::::=> code = c
::::::::=> defaut = &amp;nbsp;
::::::::=> plugin_formate
:::::::::=> nom_plugin = div/get_intitule_liste
:::::::::=> parametres
::::::::::=> nom_liste = catalogue/catalogage/grilles/rue/codes_quartiers
::::::=> tag = 200
::=> texte_isbd_standard
:::=> chemin_fichier = catalogue/marcxml
:::=> nom_fonction = get_datafields
:::=> parametres
::::=> champs
:::::=> 01 - 200
::::::=> sous-champs
:::::::=> 01 - a - nom
::::::::=> code = a
:::::::=> 02 - b - cp
::::::::=> apres = )
::::::::=> avant = (
::::::::=> code = b
:::::::=> 03 - c - cq
::::::::=> apres =  ]
::::::::=> avant = [
::::::::=> code = c
::::::::=> plugin_formate
:::::::::=> nom_plugin = div/get_intitule_liste
:::::::::=> parametres
::::::::::=> nom_liste = catalogue/catalogage/grilles/rue/codes_quartiers
::::::=> tag = 200
On peut remarquer le noeud "plugin_formate" dans les deux types de résultats ("tableau_ville_cp" et "texte_isbd_standard") suivi du noeud "nom_liste" en paramètre. Ceci apparaît lors du formatage du code du quartier (03 - c -cq"). Ce plugin a pour tâche de substituer le code par son intitulé. Cette correspondance est définie au noeud "nom_liste" qui a pour valeur "catalogue/catalogage/grilles/rue/codes_quartiers". Cette liste se retrouve dans le registre au noeud "profiles/defaut/langues/listes/catalogue/catalogage/grilles/rue/codes_quartiers".
Le code à injecter via l'outil d'importation dans le registre est:
----
[{"type":"supprimer_noeud","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice","nom":"notice","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville","nom":"notice","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice","nom":"tableau_ville_cp","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp","nom":"chemin_fichier","valeur":"catalogue\\/marcxml","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp","nom":"nom_fonction","valeur":"get_datafields","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp","nom":"parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres","nom":"champs","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs","nom":"01 - 200","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200","nom":"apres","valeur":"<\\/tr>","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200","nom":"avant","valeur":"<nowiki><tr><td></nowiki>","description":"ADB"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200","nom":"sous-champs","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs","nom":"01 - a - nom","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/01 - a - nom","nom":"!!apres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/01 - a - nom\\/!!apres","nom":"alias_retour","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/01 - a - nom\\/!!apres\\/alias_retour","nom":"texte","valeur":"\\/","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/01 - a - nom\\/!!apres","nom":"nom_plugin","valeur":"catalogue\\/marcxml\\/formatage\\/biblio\\/elem_notice\\/structure\\/objet_cliquable_apres","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/01 - a - nom","nom":"!!avant","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/01 - a - nom\\/!!avant","nom":"alias_retour","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/01 - a - nom\\/!!avant\\/alias_retour","nom":"texte","valeur":"\\/","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/01 - a - nom\\/!!avant","nom":"nom_plugin","valeur":"catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/01 - a - nom\\/!!avant","nom":"parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/01 - a - nom\\/!!avant\\/parametres","nom":"##notice","valeur":"ligne","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/01 - a - nom","nom":"code","valeur":"a","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/01 - a - nom","nom":"defaut","valeur":"sans titre","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs","nom":"02 - b - cp","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/02 - b - cp","nom":"apres","valeur":"<nowiki><\\/td></nowiki>","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/02 - b - cp","nom":"avant","valeur":"<nowiki><td></nowiki>","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/02 - b - cp","nom":"code","valeur":"b","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/02 - b - cp","nom":"defaut","valeur":"&amp;nbsp;","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs","nom":"03 - c - cq","valeur":"","description":"ADB"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/03 - c - cq","nom":"apres","valeur":"<nowiki><\\/td></nowiki>","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/03 - c - cq","nom":"avant","valeur":"<nowiki><td></nowiki>","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/03 - c - cq","nom":"code","valeur":"c","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/03 - c - cq","nom":"defaut","valeur":"&amp;nbsp;","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/03 - c - cq","nom":"plugin_formate","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/03 - c - cq\\/plugin_formate","nom":"nom_plugin","valeur":"div\\/get_intitule_liste","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/03 - c - cq\\/plugin_formate","nom":"parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/03 - c - cq\\/plugin_formate\\/parametres","nom":"nom_liste","valeur":"catalogue\\/catalogage\\/grilles\\/rue\\/codes_quartiers","description":"ADB new !!!"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/tableau_ville_cp\\/parametres\\/champs\\/01 - 200","nom":"tag","valeur":"200","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice","nom":"texte_isbd_standard","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/texte_isbd_standard","nom":"chemin_fichier","valeur":"catalogue\\/marcxml","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/texte_isbd_standard","nom":"nom_fonction","valeur":"get_datafields","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/texte_isbd_standard","nom":"parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/texte_isbd_standard\\/parametres","nom":"champs","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/texte_isbd_standard\\/parametres\\/champs","nom":"01 - 200","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/texte_isbd_standard\\/parametres\\/champs\\/01 - 200","nom":"sous-champs","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/texte_isbd_standard\\/parametres\\/champs\\/01 - 200\\/sous-champs","nom":"01 - a - nom","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/texte_isbd_standard\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/01 - a - nom","nom":"code","valeur":"a","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/texte_isbd_standard\\/parametres\\/champs\\/01 - 200\\/sous-champs","nom":"02 - b - cp","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/texte_isbd_standard\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/02 - b - cp","nom":"apres","valeur":")","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/texte_isbd_standard\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/02 - b - cp","nom":"avant","valeur":" (","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/texte_isbd_standard\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/02 - b - cp","nom":"code","valeur":"b","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/texte_isbd_standard\\/parametres\\/champs\\/01 - 200\\/sous-champs","nom":"03 - c - cq","valeur":"","description":"ADB"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/texte_isbd_standard\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/03 - c - cq","nom":"apres","valeur":"]","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/texte_isbd_standard\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/03 - c - cq","nom":"avant","valeur":" [","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/texte_isbd_standard\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/03 - c - cq","nom":"code","valeur":"c","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/texte_isbd_standard\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/03 - c - cq","nom":"plugin_formate","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/texte_isbd_standard\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/03 - c - cq\\/plugin_formate","nom":"nom_plugin","valeur":"div\\/get_intitule_liste","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/texte_isbd_standard\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/03 - c - cq\\/plugin_formate","nom":"parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/texte_isbd_standard\\/parametres\\/champs\\/01 - 200\\/sous-champs\\/03 - c - cq\\/plugin_formate\\/parametres","nom":"nom_liste","valeur":"catalogue\\/catalogage\\/grilles\\/rue\\/codes_quartiers","description":"ADB new !!!"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/notice\\/texte_isbd_standard\\/parametres\\/champs\\/01 - 200","nom":"tag","valeur":"200","description":""}
]
----
==Adaptation des éléments des notices==
Nous allons dans le registre à l'adresse:
profiles/defaut/plugins/plugins/catalogue/marcxml/formatage/ville/elem_notice
:=> elem_notice
::=> contenu
::=> structure
:::=> objet_cliquable_avant
::::=> chemin_fichier = catalogue/marcxml
::::=> nom_fonction = formate_plugins
::::=> parametres
:::::=> plugins
::::::=> 01 - ID notice pour clic gauche
:::::::=> alias
::::::::=> notice = tableau
:::::::=> nom_plugin = catalogue/marcxml/get_colonnes
:::::::=> parametres
::::::::=> colonnes
:::::::::=> 01 - ID
::::::::::=> apres = ,
::::::::::=> avant = <nowiki><span class="objet_cliquable" onclick="affiche_notice('ville',</nowiki>                                       
::::::::::=> nom_colonne = ID
::::::=> 02 - _idx pour clic gauche
:::::::=> alias
::::::::=> notice = tableau
:::::::=> nom_plugin = cataogue/marcxml/get_colonnes
:::::::=> parametres
::::::::=> colonnes
:::::::::=> 01 - _idx
::::::::::=> apres = );"
::::::::::=> nom_colonne = _idx
::::::=> 03 - ID notice pour clic droit
:::::::=> alias
::::::::=> notice = tableau
:::::::=> nom_plugin = catalogue/marcxml/get_colonnes
:::::::=> parametres
::::::::=> colonnes
:::::::::=> 01 - ID
::::::::::=> apres = ,
::::::::::=> avant = oncontextmenu="return(fn_mc(event, 'ville',
::::::::::=> nom_colonne = ID
::::::=> _idx pour clic droit
:::::::=> alias
::::::::=> notice = tableau
:::::::=> nom_plugin = catalogue/marcxml/get_colonnes
:::::::=> parametres
::::::::=> colonnes
:::::::::=> 01 - _idx
::::::::::=> apres = ));" >
::::::::::=> nom_colonne = _idx
Le code à injecter via l'outil d'importation dans le registre est:
----
[{"type":"supprimer_noeud","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice","nom":"elem_notice","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville","nom":"elem_notice","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice","nom":"contenu","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice","nom":"structure","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure","nom":"objet_cliquable_avant","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant","nom":"chemin_fichier","valeur":"catalogue\\/marcxml","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant","nom":"nom_fonction","valeur":"formate_plugins","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant","nom":"parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres","nom":"plugins","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins","nom":"01 - ID notice pour clic gauche","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/01 - ID notice pour clic gauche","nom":"alias","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/01 - ID notice pour clic gauche\\/alias","nom":"notice","valeur":"tableau","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/01 - ID notice pour clic gauche","nom":"nom_plugin","valeur":"catalogue\\/marcxml\\/get_colonnes","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/01 - ID notice pour clic gauche","nom":"parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/01 - ID notice pour clic gauche\\/parametres","nom":"colonnes","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/01 - ID notice pour clic gauche\\/parametres\\/colonnes","nom":"01 - ID","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/01 - ID notice pour clic gauche\\/parametres\\/colonnes\\/01 - ID","nom":"apres","valeur":", ","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/01 - ID notice pour clic gauche\\/parametres\\/colonnes\\/01 - ID","nom":"avant","valeur":"<nowiki><span class=\\\"objet_cliquable\\\" onclick=\\\"affiche_notice(\'ville\', </nowiki>","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/01 - ID notice pour clic gauche\\/parametres\\/colonnes\\/01 - ID","nom":"nom_colonne","valeur":"ID","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins","nom":"02 - _idx pour clic gauche","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/02 - _idx pour clic gauche","nom":"alias","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/02 - _idx pour clic gauche\\/alias","nom":"notice","valeur":"tableau","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/02 - _idx pour clic gauche","nom":"nom_plugin","valeur":"catalogue\\/marcxml\\/get_colonnes","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/02 - _idx pour clic gauche","nom":"parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/02 - _idx pour clic gauche\\/parametres","nom":"colonnes","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/02 - _idx pour clic gauche\\/parametres\\/colonnes","nom":"01 - _idx","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/02 - _idx pour clic gauche\\/parametres\\/colonnes\\/01 - _idx","nom":"apres","valeur":");\\\" ","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/02 - _idx pour clic gauche\\/parametres\\/colonnes\\/01 - _idx","nom":"nom_colonne","valeur":"_idx","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins","nom":"03 - ID notice pour clic droit","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/03 - ID notice pour clic droit","nom":"alias","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/03 - ID notice pour clic droit\\/alias","nom":"notice","valeur":"tableau","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/03 - ID notice pour clic droit","nom":"nom_plugin","valeur":"catalogue\\/marcxml\\/get_colonnes","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/03 - ID notice pour clic droit","nom":"parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/03 - ID notice pour clic droit\\/parametres","nom":"colonnes","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/03 - ID notice pour clic droit\\/parametres\\/colonnes","nom":"01 - ID","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/03 - ID notice pour clic droit\\/parametres\\/colonnes\\/01 - ID","nom":"apres","valeur":", ","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/03 - ID notice pour clic droit\\/parametres\\/colonnes\\/01 - ID","nom":"avant","valeur":" oncontextmenu=\\\"return(fn_mc(event, \'ville\', ","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/03 - ID notice pour clic droit\\/parametres\\/colonnes\\/01 - ID","nom":"nom_colonne","valeur":"ID","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins","nom":"_idx pour clic droit","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/_idx pour clic droit","nom":"alias","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/_idx pour clic droit\\/alias","nom":"notice","valeur":"tableau","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/_idx pour clic droit","nom":"nom_plugin","valeur":"catalogue\\/marcxml\\/get_colonnes","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/_idx pour clic droit","nom":"parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/_idx pour clic droit\\/parametres","nom":"colonnes","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/_idx pour clic droit\\/parametres\\/colonnes","nom":"01 - _idx","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/_idx pour clic droit\\/parametres\\/colonnes\\/01 - _idx","nom":"apres","valeur":"));\\\" >","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/elem_notice\\/structure\\/objet_cliquable_avant\\/parametres\\/plugins\\/_idx pour clic droit\\/parametres\\/colonnes\\/01 - _idx","nom":"nom_colonne","valeur":"_idx","description":""}
]
----
==Ajout du menu contextuel==
Nous allons dans le registre à l'adresse:
profiles/defaut/plugins/plugins/div/menus_contextuels/ville
:=> ville
::=> defaut
:::=> chemin_fichier = div
:::=> nom_fonction = plugins_2_array
:::=> parametres
::::=> menus
:::::=> 01 - voir
::::::=> ??text = bib_ws/div/menus_contextuels/voir
::::::=> onclick
:::::::=> fn = mc_voir
:::::::=> obj
:::::=> 02 - cataloguer
::::::=> ??text = bib_ws/div/menus_contextuels/cataloguer
::::::=> onclick
:::::::=> fn = mc_cataloguer
:::::::=> obj
:::::=> 03 - sélectionner
::::::=> ??text = bib_ws/div/menus_contextuels/selectionner
::::::=> onclick
:::::::=> fn = mc_selectionner
:::::::=> obj
::=> formulaires_recherche_ville
:::=> chemin_fichier = div
:::=> nom_fonction = plugins_2_array
:::=> parametres
::::=> menus
:::::=> 01 - voir
::::::=> ??text = bib_ws/div/menus_contextuels/voir
::::::=> onclick
:::::::=> fn = mc_voir
:::::::=> obj
:::::=> 02 - cataloguer
::::::=> ??text = bib_ws/div/menus_contextuels/cataloguer
::::::=> onclick
:::::::=> fn = mc_cataloguer
:::::::=> obj
:::::=> 03 - sélectionner
::::::=> ??text = bib_ws/div/menus_contextuels/selectionner
::::::=> onclick
:::::::=> fn = mc_selectionner
:::::::=> obj
::=> _compile = 1
Le code à injecter via l'outil d'importation dans le registre est:
----
[{"type":"supprimer_noeud","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville","nom":"ville","valeur":"","description":"ADB modif"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels","nom":"ville","valeur":"","description":"ADB modif"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville","nom":"defaut","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/defaut","nom":"chemin_fichier","valeur":"div","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/defaut","nom":"nom_fonction","valeur":"plugins_2_array","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/defaut","nom":"parametres","valeur":"","description":""},{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/defaut\\/parametres","nom":"menus","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/defaut\\/parametres\\/menus","nom":"01 - voir","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/defaut\\/parametres\\/menus\\/01 - voir","nom":"??text","valeur":"bib_ws\\/div\\/menus_contextuels\\/voir","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/defaut\\/parametres\\/menus\\/01 - voir","nom":"onclick","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/defaut\\/parametres\\/menus\\/01 - voir\\/onclick","nom":"fn","valeur":"mc_voir","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/defaut\\/parametres\\/menus\\/01 - voir\\/onclick","nom":"obj","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/defaut\\/parametres\\/menus","nom":"02 - cataloguer","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/defaut\\/parametres\\/menus\\/02 - cataloguer","nom":"??text","valeur":"bib_ws\\/div\\/menus_contextuels\\/cataloguer","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/defaut\\/parametres\\/menus\\/02 - cataloguer","nom":"onclick","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/defaut\\/parametres\\/menus\\/02 - cataloguer\\/onclick","nom":"fn","valeur":"mc_cataloguer","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/defaut\\/parametres\\/menus\\/02 - cataloguer\\/onclick","nom":"obj","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/defaut\\/parametres\\/menus","nom":"03 - s\\\u00e9lectionner","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/defaut\\/parametres\\/menus\\/03 - s\\\u00e9lectionner","nom":"??text","valeur":"bib_ws\\/div\\/menus_contextuels\\/selectionner","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/defaut\\/parametres\\/menus\\/03 - s\\\u00e9lectionner","nom":"onclick","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/defaut\\/parametres\\/menus\\/03 - s\\\u00e9lectionner\\/onclick","nom":"fn","valeur":"mc_selectionner","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/defaut\\/parametres\\/menus\\/03 - s\\\u00e9lectionner\\/onclick","nom":"obj","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville","nom":"formulaires_recherche_ville","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/formulaires_recherche_ville","nom":"chemin_fichier","valeur":"div","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/formulaires_recherche_ville","nom":"nom_fonction","valeur":"plugins_2_array","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/formulaires_recherche_ville","nom":"parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/formulaires_recherche_ville\\/parametres","nom":"menus","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/formulaires_recherche_ville\\/parametres\\/menus","nom":"01 - voir","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/formulaires_recherche_ville\\/parametres\\/menus\\/01 - voir","nom":"??text","valeur":"bib_ws\\/div\\/menus_contextuels\\/voir","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/formulaires_recherche_ville\\/parametres\\/menus\\/01 - voir","nom":"onclick","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/formulaires_recherche_ville\\/parametres\\/menus\\/01 - voir\\/onclick","nom":"fn","valeur":"mc_voir","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/formulaires_recherche_ville\\/parametres\\/menus\\/01 - voir\\/onclick","nom":"obj","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/formulaires_recherche_ville\\/parametres\\/menus","nom":"02 - cataloguer","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/formulaires_recherche_ville\\/parametres\\/menus\\/02 - cataloguer","nom":"??text","valeur":"bib_ws\\/div\\/menus_contextuels\\/cataloguer","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/formulaires_recherche_ville\\/parametres\\/menus\\/02 - cataloguer","nom":"onclick","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/formulaires_recherche_ville\\/parametres\\/menus\\/02 - cataloguer\\/onclick","nom":"fn","valeur":"mc_cataloguer","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/formulaires_recherche_ville\\/parametres\\/menus\\/02 - cataloguer\\/onclick","nom":"obj","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/formulaires_recherche_ville\\/parametres\\/menus","nom":"03 - s\\\u00e9lectionner","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/formulaires_recherche_ville\\/parametres\\/menus\\/03 - s\\\u00e9lectionner","nom":"??text","valeur":"bib_ws\\/div\\/menus_contextuels\\/selectionner","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/formulaires_recherche_ville\\/parametres\\/menus\\/03 - s\\\u00e9lectionner","nom":"onclick","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/formulaires_recherche_ville\\/parametres\\/menus\\/03 - s\\\u00e9lectionner\\/onclick","nom":"fn","valeur":"mc_selectionner","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville\\/formulaires_recherche_ville\\/parametres\\/menus\\/03 - s\\\u00e9lectionner\\/onclick","nom":"obj","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/div\\/menus_contextuels\\/ville","nom":"_compile","valeur":"1","description":""}
]
----
==Ajout des masques==
Sur l'écran de catalogage, on va ajouter les masques.
===Ajout de l'intitulé===
Nous allons dans le registre à l'adresse:
profiles/defaut/langues/bib/catalogue/catalogage/grilles/ville/unimarc_standard/_intitules/masque_standard
:=> masque_standard
::=> _fr = standard
Le code à injecter via l'outil d'importation dans le registre est:
----
[{"type":"supprimer_noeud","chemin":"profiles\\/defaut\\/langues\\/bib\\/catalogue\\/catalogage\\/grilles\\/ville\\/unimarc_standard\\/_intitules\\/masque_standard","nom":"masque_standard","valeur":"","description":"ADB ajout"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/langues\\/bib\\/catalogue\\/catalogage\\/grilles\\/ville\\/unimarc_standard\\/_intitules","nom":"masque_standard","valeur":"","description":"ADB ajout"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/langues\\/bib\\/catalogue\\/catalogage\\/grilles\\/ville\\/unimarc_standard\\/_intitules\\/masque_standard","nom":"_fr","valeur":"standard","description":""}
]
----
===Ajout les appels des masques au niveau de l'appel URL de la page===
Nous allons dans le registre à l'adresse:
profiles/defaut/pages/bib/catalogue/catalogage/grilles/ville/unimarc_standard/_parametres
:=> _parametres
::=> masque_defaut = standard
::=> page_ws = bib_ws.php?module=catalogue/catalogage/grilles/ville/unimarc_standard
::=> plugin_get_masques
:::=> nom_plugin = catalogue/catalogage/listes_masques/ville/unimarc_standard/standard
Le code à injecter via l'outil d'importation dans le registre est:
----
[{"type":"supprimer_noeud","chemin":"profiles\\/defaut\\/pages\\/bib\\/catalogue\\/catalogage\\/grilles\\/ville\\/unimarc_standard\\/_parametres","nom":"_parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/pages\\/bib\\/catalogue\\/catalogage\\/grilles\\/ville\\/unimarc_standard","nom":"_parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/pages\\/bib\\/catalogue\\/catalogage\\/grilles\\/ville\\/unimarc_standard\\/_parametres","nom":"masque_defaut","valeur":"standard","description":"ADB ajout"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/pages\\/bib\\/catalogue\\/catalogage\\/grilles\\/ville\\/unimarc_standard\\/_parametres","nom":"page_ws","valeur":"bib_ws.php?module=catalogue\\/catalogage\\/grilles\\/ville\\/unimarc_standard","description":"Web Services \\u00e0 utiliser"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/pages\\/bib\\/catalogue\\/catalogage\\/grilles\\/ville\\/unimarc_standard\\/_parametres","nom":"plugin_get_masques","valeur":"","description":"ADB ajout"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/pages\\/bib\\/catalogue\\/catalogage\\/grilles\\/ville\\/unimarc_standard\\/_parametres\\/plugin_get_masques","nom":"nom_plugin","valeur":"catalogue\\/catalogage\\/listes_masques\\/ville\\/unimarc_standard\\/standard","description":""}
]
----
===Ajout de la liste des masques===
Nous allons dans le registre à l'adresse:
profiles/defaut/plugins/plugins/catalogue/catalogage/listes_masques/ville
:=> ville
::=> unimarc_standard
:::=> standard
::::=> chemin_fichier = div
::::=> nom_fonction = plugins_2_array
::::=> parametres
:::::=> masques
::::::=> !!aucun
:::::::=> nom_plugin = catalogue/catalogage/masques/biblio/unimarc_standard/aucun
::::::=> !!standard
:::::::=> nom_plugin = catalogue/catalogage/masques/ville/unimarc_standard/standard
:::=> _compile > 1
Le code à injecter via l'outil d'importation dans le registre est:
----
[{"type":"supprimer_noeud","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/catalogage\\/listes_masques\\/ville","nom":"ville","valeur":"","description":"ADB ajout"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/catalogage\\/listes_masques","nom":"ville","valeur":"","description":"ADB ajout"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/catalogage\\/listes_masques\\/ville","nom":"unimarc_standard","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/catalogage\\/listes_masques\\/ville\\/unimarc_standard","nom":"standard","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/catalogage\\/listes_masques\\/ville\\/unimarc_standard\\/standard","nom":"chemin_fichier","valeur":"div","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/catalogage\\/listes_masques\\/ville\\/unimarc_standard\\/standard","nom":"nom_fonction","valeur":"plugins_2_array","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/catalogage\\/listes_masques\\/ville\\/unimarc_standard\\/standard","nom":"parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/catalogage\\/listes_masques\\/ville\\/unimarc_standard\\/standard\\/parametres","nom":"masques","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/catalogage\\/listes_masques\\/ville\\/unimarc_standard\\/standard\\/parametres\\/masques","nom":"!!aucun","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/catalogage\\/listes_masques\\/ville\\/unimarc_standard\\/standard\\/parametres\\/masques\\/!!aucun","nom":"nom_plugin","valeur":"catalogue\\/catalogage\\/masques\\/biblio\\/unimarc_standard\\/aucun","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/catalogage\\/listes_masques\\/ville\\/unimarc_standard\\/standard\\/parametres\\/masques","nom":"!!standard","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/catalogage\\/listes_masques\\/ville\\/unimarc_standard\\/standard\\/parametres\\/masques\\/!!standard","nom":"nom_plugin","valeur":"catalogue\\/catalogage\\/masques\\/ville\\/unimarc_standard\\/standard","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/catalogage\\/listes_masques\\/ville\\/unimarc_standard","nom":"_compile","valeur":"1","description":""}
]
----
===Ajout des définitions des masques===
Nous allons dans le registre à l'adresse:
profiles/defaut/plugins/plugins/catalogue/catalogage/masques/ville
:=> ville
::=> unimarc_standard
:::=> standard
::::=> chemin_fichier = div
::::=> nom_fonction = plugins_2_array
::::=> parametres
:::::=> ??intitule = bib/catalogue/catalogage/grilles/ville/unimarc_standard/masque_standard
:::::=> champs
::::::=> suivi
:::::::=> masquer = 1
Le code à injecter via l'outil d'importation dans le registre est:
----
[{"type":"supprimer_noeud","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/catalogage\\/masques\\/ville","nom":"ville","valeur":"","description":"ADB ajout"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/catalogage\\/masques","nom":"ville","valeur":"","description":"ADB ajout"}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/catalogage\\/masques\\/ville","nom":"unimarc_standard","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/catalogage\\/masques\\/ville\\/unimarc_standard","nom":"standard","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/catalogage\\/masques\\/ville\\/unimarc_standard\\/standard","nom":"chemin_fichier","valeur":"div","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/catalogage\\/masques\\/ville\\/unimarc_standard\\/standard","nom":"nom_fonction","valeur":"plugins_2_array","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/catalogage\\/masques\\/ville\\/unimarc_standard\\/standard","nom":"parametres","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/catalogage\\/masques\\/ville\\/unimarc_standard\\/standard\\/parametres","nom":"??intitule","valeur":"bib\\/catalogue\\/catalogage\\/grilles\\/ville\\/unimarc_standard\\/masque_standard","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/catalogage\\/masques\\/ville\\/unimarc_standard\\/standard\\/parametres","nom":"champs","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/catalogage\\/masques\\/ville\\/unimarc_standard\\/standard\\/parametres\\/champs","nom":"suivi","valeur":"","description":""}
,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/catalogage\\/masques\\/ville\\/unimarc_standard\\/standard\\/parametres\\/champs\\/suivi","nom":"masquer","valeur":"1","description":""}
]
----




Ligne 882 : Ligne 28 :


=Intégration dans le registre=
=Intégration dans le registre=
Ces corrections sont a faire dans le registre. A ce stade, vous pouvez les personnaliser.
Ces corrections sont à faire dans le registre. A ce stade, vous pouvez les personnaliser.
Pour les appliquer, vous pouvez soit les intégrer dans l'écran d'importation au niveau de l'administration du registre, soit exécuter, en commande de ligne sous Linux, le script contenu dans le fichier zippé ci-dessous:
Pour les appliquer, vous pouvez soit les intégrer dans l'écran d'importation au niveau de l'administration du registre, soit exécuter, en commande de ligne sous Linux, le script contenu dans le fichier zippé ci-dessous:


Ligne 904 : Ligne 50 :




[[WATERBEAR:Villes-détails|Villes-détails]]
''-->[[WATERBEAR:Villes-détails|Villes-détails]]''
 
 
 


----
----

Dernière version du 9 janvier 2021 à 16:17

But

Cette article concerne la gestion des adresses des lecteurs, partie ville. Le menu de cette recherche n'est pas accessible mais derrière, nombre de noeuds existent déjà. L'utilisation de l'API de l'IGN français, s'il est correctement configuré, permet de le remplir automatiquement et progressivement. Mais dans certains cas, c'est impossible, par exemple si on est dans un autre pays ou proche de la frontière. Cet écran de recherche permet d'avoir une complète et d'y effectuer des corrections.


Aspect

Ce qui donne par exemple:

  • Critères

WATERBEAR:Ville.recherche.critere.png

  • Liste

WATERBEAR:Ville.recherche.liste.png

  • Notice

WATERBEAR:Ville.recherche.notice.png

  • Catalogue

WATERBEAR:Ville.catalogue.png


Intégration dans le registre

Ces corrections sont à faire dans le registre. A ce stade, vous pouvez les personnaliser. Pour les appliquer, vous pouvez soit les intégrer dans l'écran d'importation au niveau de l'administration du registre, soit exécuter, en commande de ligne sous Linux, le script contenu dans le fichier zippé ci-dessous:

Télécharger le fichier ZIP

Ce fichier est à dézipper sous Linux dans un répertoire de travail quelconque sur la machine où se trouve les sources du site WEB de Waterbear:

unzip ville.maj.registre.zip

Dans ce répertoire généré, se trouvent un sous-répertoire "registre" contenant les fichiers texte (.txt) où se trouvent les enregistrements à injecter dans le registre. Ce contenu a le format de celui utilisé dans l'interface d'exportation et d'importation de l'administration du registre de Waterbear. On trouve également un fichier de script PHP. Dans ce fichier, il faut adapter la variable "$racinewaterbear" qui doit contenir le chemin de la racine du logiciel WEB de Waterbear où on retrouve le fichier "bib.php". Par exemple, si ce chemin est "/web/waterbear" comme dans notre exemple d'installation, la variable devient (ne pas oublier la barre oblique finale "/"):

$racinewaterbear = "/web/waterbear/";

Ensuite, en commande de ligne sous Linux, positionnez-vous dans le répertoire du script et exécutez-le:

php ./maj.registre.liste.fichier.php



-->Villes-détails




->retour à la personnalisation de Waterbear