« WATERBEAR:Villes » : différence entre les versions
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 393 : | Ligne 393 : | ||
Le code à injecter via l'outil d'importation dans le registre est: | 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":"<table><tr><td><b>Ville<\\/b><\\/td><td><b>Code postale<\\/b><\\/td><td><b>Code quartier<\\/b><\\/td>","description":""} | [{"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"} | ,{"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"} | ||
] | ] |
Version du 16 septembre 2020 à 21:53
EN CONSTRUCTION
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.
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.
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&
- => !!booleens
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
- => plugin_recherche
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
- => 01 - nom
- => format_resultat = formate
- => plugin_formate_liste
- => plugin_formate_notice
- => alias
- => ligne = tableau
- => alias_retour
- => texte = /
- => nom_plugin = catalogue/marcxml/formatage/ville/autocomplete/standard/nom
- => alias
- => type_objet = ville
- => param_recherche
- => _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\\/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
- => 01 - nom
- => colonnes
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&
- => !!booleens
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
- => plugin_recherche
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
- => 01 - cp
- => format_resultat = formate
- => plugin_formate_liste
- => plugin_formate_notice
- => alias
- => ligne = tableau
- => alias_retour
- => texte = /
- => nom_plugin = catalogue/marcxml/formatage/ville/autocomplete/standard/cp
- => alias
- => type_objet = ville
- => param_recherche
- => _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
- => 01 - cp
- => colonnes
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
- => 001 - $c
- => sous-champs
- => tag = 200
- => 001 - champ 200
- => champs
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:
<table><tr><td><b>Ville</b></td><td><b>Code postale</b></td><td><b>Code quartier</b></td>
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":"<table><tr><td><b>Ville<\\/b><\\/td><td><b>Code postale<\\/b><\\/td><td><b>Code quartier<\\/b><\\/td>","description":""} ,{"type":"niv2_create_node","chemin":"profiles\\/defaut\\/plugins\\/plugins\\/catalogue\\/marcxml\\/formatage\\/ville\\/liste\\/tableau_ville_cp\\/parametres","nom":"avant","valeur":"<table><tr><td><b>Ville<\\/b><\\/td><td><b>Code postale<\\/b><\\/td><td><b>Code quartier<\\/b><\\/td>","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 => </tr> + avant => <tr><td> + 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 => </td> + avant => <td> + code => b + defaut => + 03 - c - cq + apres => </td> + avant => <td> + code => c + defaut => + 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":"<tr><td>","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":"<\\/td>","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":"<td>","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":" ","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":"<\\/td>","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":"<td>","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":" ","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 = nom_colonne = ID
- => 01 - ID
- => colonnes
- => alias
- => 02 - _idx pour clic gauche
- => alias
- => notice = tableau
- => nom_plugin = cataogue/marcxml/get_colonnes
- => parametres
- => colonnes
- => 01 - _idx
- => apres = );"
- => nom_colonne = _idx
- => 01 - _idx
- => colonnes
- => alias
- => 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
- => 01 - ID
- => colonnes
- => alias
- => _idx pour clic droit
- => alias
- => notice = tableau
- => nom_plugin = catalogue/marcxml/get_colonnes
- => parametres
- => colonnes
- => 01 - _idx
- => apres = ));" >
- => nom_colonne = _idx
- => 01 - _idx
- => colonnes
- => alias
- => 01 - ID notice pour clic gauche
- => plugins
- => objet_cliquable_avant
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":"","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
Ces corrections sont a 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