local:tabbedquickform:installguide
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| local:tabbedquickform:installguide [2016/12/20 14:30] – external edit 127.0.0.1 | local:tabbedquickform:installguide [2026/01/13 07:58] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | ===== Guide d' | + | ===== Install |
| - | ===== Formulaires tabulés et filtrés | + | ===== Tabbed and filtered QuickForms |
| - | === Installer le composant | + | === Install the plugin |
| - | Ce composant s' | + | Two steps install: |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | * Then you need add the essential unique patch into the file lib/ |
| - | A la fin de ce script est initialisé le moteur de rendu standard : | + | You'll find patch and core reference into respectively the __patch and __reference metadirs of the plugin. Reference file is given to facilitate automatic patch detection and integration into automated assembling procedures. Check the patch marked by "// PATCH+" |
| - | /** | + | This change will affect ALL QuickForms in the whole Moodle. See next chapter to see how to exclude some local forms from the change. |
| - | * @global object $GLOBALS[' | + | |
| - | * @name $_HTML_QuickForm_default_renderer | + | |
| - | */ | + | |
| - | | + | |
| - | Cette définition doit être complétée comme ceci : | + | ==== Configure ==== |
| - | /** | + | Four settings need attention for configuring the TabbedQuickform plugin. Browse to: |
| - | * @global object $GLOBALS[' | + | |
| - | * @name $_HTML_QuickForm_default_renderer | + | |
| - | */ | + | |
| - | | + | |
| - | // PATCH : Overloads quickform renderer | + | |
| - | $config = get_config(' | + | |
| - | if (!empty($config-> | + | |
| - | $GLOBALS[' | + | |
| - | } | + | |
| - | // /PATCH | + | |
| - | Cette modification affectera TOUS les formulaires de Moodle à partir du moment où elle est activée dans la configuration générale. | + | Site Administration > Plugins > Local plugins > Tabbed quickforms |
| - | ==== Configurer la fonctionnalité ==== | + | {{ : |
| - | La configuration générale de ce composant ne propose que deux options. Vous l' | + | === Enabling tabs renderer === |
| - | | + | By enabling the renderer, you will replace the standard collapsible sections with the new tabs renderer. This renderer also provides the global form filtering feature. |
| - | {{ : | + | === Enabling masking mandatory fields === |
| - | === Activation du moteur de rendu tabulaire === | + | This is NOT enabled by default, as this might have severe consequences on behaviour if admins mask fields inadequately, |
| - | En activant le moteur, vous remplacerez l' | + | === Default mode forms === |
| - | === Mode par défaut des formulaires === | + | As a default (apart any explicit choice in user's preferences), |
| - | Par défaut | + | * **Filtered |
| + | * **Complete: | ||
| - | * **Filtré :** Les champs qui ont été masqués par l' | + | Users may be allowed to choose the form mode by themselves in their own profile. |
| - | * **Complet :** Tous les champs d' | + | |
| - | Chaque utilisateur peut par la suite choisir à tout moment quel mode d' | + | [[: |
| - | + | ||
| - | [[: | + | |
local/tabbedquickform/installguide.1482244246.txt.gz · Dernière modification : (modification externe)
