- Accueil
- Info légales
- Aide (FAQ)
- Les tags de ce site
- Bloc note
- Articles techniques
- Notes system
- Divers articles
- Drupal
- Notes ITIL 2007
- Notes MS
- Dans le quartier...
- Emploi
- Recettes de cuisine et adresses gourmandes
- mes applis ubuntu préferées
- Divers acronymes du monde social
- Internet 2018
- P2 meublé à louer - quartier du Poteau 75018
- apcos - réseaux sociaux et outils
- Articles techniques
- Divers liens
- Fun
- Mon CV IT
- Nouveautés
Module Chosen : pour personnaliser listes déroulantes
chosen 7.x-2.0-beta4+1-dev : lib js qui permet de personnaliser les liste déroulantes, avec une .css + on peux faire une recherche dans la liste
Démo et doc à http://harvesthq.github.io/chosen/
Fait partie de commerce
Installer la lib puis activer le module : drush chosenplugin
; drush en chosen
Puis aller à admin/config/user-interface/chosen :
- The minimum number of options to apply Chosen for single select fields. Example : choosing 10 will only apply Chosen if the number of options is greater or equal to 10.
- " multi select
- The minimum number of options to apply Chosen search box. Example : choosing 10 will only apply Chosen search if the number of options is greater or equal to 10. Par défaut à Never
- Minimum width of widget *
-
Apply Chosen to the following elements : select:visible
A comma-separated list of jQuery selectors to apply Chosen to, such asselect#edit-operation, select#edit-type
or.chosen-select
. Defaults toselect
to apply Chosen to all<select>
elements.
=> sur tous chps visibles. On peux ici sel les champs où s'applique chosen. -
Chosen options: 3 cases à cocher
-
décochée: Per default chosen searches only at beginning of words. Enable this option will also find results in the middle of words. Example: Search for land will also find
Switzerland
. - décochée : Enable or disable the search box in the results list to filter out possible options.
- cochée: Enable or disable the default chosen CSS file. Disable this option if your theme contains custom styles for Chosen replacements.
-
décochée: Per default chosen searches only at beginning of words. Enable this option will also find results in the middle of words. Example: Search for land will also find
- Chosen strings
Fichier attaché | Taille |
---|---|
Configuration du module chosen | 50.85 Ko |