|
|
(29 versions intermédiaires par le même utilisateur non affichées) |
Ligne 1 : |
Ligne 1 : |
| '''EN CONSTRUCTION'''
| | __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 14 : |
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
| |
| 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 éléments des notices | |
| Nous allons dans le registre à l'adresse:
| |
| | |
| profiles/defaut/plugins/plugins/catalogue/marcxml/formatage/ville/elem_notice
| |
|
| |
|
| :=> elem_notice | | [[FILE:WATERBEAR:Ville.recherche.critere.png|1000px]] |
| ::=> 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
| |
|
| |
|
| | * Liste |
|
| |
|
| Le code à injecter via l'outil d'importation dans le registre est:
| | [[FILE:WATERBEAR:Ville.recherche.liste.png|1000px]] |
| ----
| |
| [{"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":""}
| |
| ]
| |
| ----
| |
| | |
|
| |
|
| | * Notice |
|
| |
|
| | [[FILE:WATERBEAR:Ville.recherche.notice.png|1000px]] |
|
| |
|
| | * Catalogue |
|
| |
|
| | [[FILE:WATERBEAR:Ville.catalogue.png|1000px]] |
|
| |
|
|
| |
|
| =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 166 : |
Ligne 45 : |
|
| |
|
| php ./maj.registre.liste.fichier.php | | php ./maj.registre.liste.fichier.php |
| | |
| | |
| | |
| | |
| | |
| | ''-->[[WATERBEAR:Villes-détails|Villes-détails]]'' |
|
| |
|
|
| |
|
Ligne 173 : |
Ligne 58 : |
| ''->[[WATERBEAR:Personnaliser|retour à la personnalisation de Waterbear]]'' | | ''->[[WATERBEAR:Personnaliser|retour à la personnalisation de Waterbear]]'' |
| __NOEDITSECTION__ | | __NOEDITSECTION__ |
| | [[Category:WATERBEAR]] |