local:tabbedquickform:technique
Différences
Ci-dessous, les différences entre deux révisions de la page.
| local:tabbedquickform:technique [2016/08/05 20:57] – créée admin | local:tabbedquickform:technique [2026/11/13 21:59] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | ===== Guide technique ===== | + | < |
| - | ===== Formulaires à onglets ===== | + | |
| - | ==== Capacités ==== | ||
| - | * **local/ | + | ===== Tabbed forms: Technical guide ===== |
| - | [[: | + | ==== Capabilities ==== |
| + | |||
| + | * **local/ | ||
| + | |||
| + | ==== Component limits ==== | ||
| + | |||
| + | Technical note: This component requires JQuery so that filtering and tab activation work correctly. Some Moodle pages may not load JQuery. Integrating the quickTabbedForm into an " | ||
| + | |||
| + | === Solution 1: === | ||
| + | |||
| + | Disable the renderer on the page type concerned. | ||
| + | |||
| + | * Note the offending page type | ||
| + | * Go to the global configuration of the " | ||
| + | * Add the page type to the pages excluded from form processing | ||
| + | |||
| + | === Solution 2: === | ||
| + | |||
| + | Add an instruction | ||
| + | |||
| + | $PAGE-> | ||
| + | |||
| + | to the page concerned, using a " | ||
| + | |||
| + | === Solution 3: === | ||
| + | |||
| + | Integrate the above instruction into an override of the " | ||
| + | |||
| + | class theme_mytheme_core_renderer extends core_renderer { | ||
| + | ... | ||
| + | public function header() { | ||
| + | global $PAGE; | ||
| + | |||
| + | $PAGE-> | ||
| + | return parent:: | ||
| + | } | ||
| + | |||
| + | ... | ||
| + | } | ||
| + | |||
| + | === Solution 4: === | ||
| + | |||
| + | In the theme' | ||
| + | |||
| + | | ||
| + | | ||
| + | } | ||
| + | |||
| + | --------------- | ||
| + | < | ||
| + | [[: | ||
| + | < | ||
local/tabbedquickform/technique.1470423471.txt.gz · Dernière modification : (modification externe)
