« 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
 
(16 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 7 : Ligne 8 :




=Procédure=
=Aspect=
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.
Ce qui donne par exemple:
* Critères


==Ajout dans le menu d'accueil==
[[FILE:WATERBEAR:Ville.recherche.critere.png|1000px]]
Nous allons dans le registre à l'adresse:


profiles/defaut/pages/bib/accueil/_parametres/barre_menu1/21 - rechercher/sections/02 - lecteurs/menus/03 - villes
* Liste


:=> 03 - villes
[[FILE:WATERBEAR:Ville.recherche.liste.png|1000px]]
::=> titre = rechercher_villes
::=> url = bib.php?module=catalogue/recherches/formulaires/ville/standard


* Notice


Le code à injecter via l'outil d'importation dans le registre est:
[[FILE:WATERBEAR:Ville.recherche.notice.png|1000px]]
----
[{"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
* Catalogue
::=> 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&


 
[[FILE:WATERBEAR:Ville.catalogue.png|1000px]]
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
 
 
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 = <span class="objet_cliquable" onclick="affiche_notice('ville',                                       
::::::::::=> 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":"<span class="objet_cliquable" onclick="affiche_notice('ville',","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":""}
]
----




=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 663 : Ligne 45 :


  php ./maj.registre.liste.fichier.php
  php ./maj.registre.liste.fichier.php
''-->[[WATERBEAR:Villes-détails|Villes-détails]]''




Ligne 670 : Ligne 58 :
''->[[WATERBEAR:Personnaliser|retour à la personnalisation de Waterbear]]''
''->[[WATERBEAR:Personnaliser|retour à la personnalisation de Waterbear]]''
__NOEDITSECTION__
__NOEDITSECTION__
[[Category:WATERBEAR]]

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