| |
| local:techicalsignals:install [2016/06/20 11:37] – créée admin | local:techicalsignals:install [2026/11/13 21:59] (Version actuelle) – modification externe 127.0.0.1 |
|---|
| | <html><!-- nomoodle --></html>{{ :blocks:logo-apl.png?nolink |}}<html><!-- /nomoodle --></html> |
| ===== Installation ===== | ===== Installation ===== |
| ===== Local TechnicalSignals ===== | ===== Local TechnicalSignals ===== |
| |
| L'installation de ce composant nécessite une intervention au niveau du thème (layouts) afin de permettre l'insertion des messages d'exploitation en haut de chaque mise en place d'écran. | Installing this component requires an intervention at the theme level (layouts) to allow the insertion of operating messages at the top of each screen layout. |
| |
| ==== Etape 1 : installer le composant ==== | ==== Step 1: install the component ==== |
| |
| Pour installer le composant : | To install the component: |
| |
| - Décompactez l'archive dans le répertoire "local" de votre installation. | - Unzip the archive in the "local" directory of your installation. |
| - Naviguez vers les notifications d'administration pour procéder à l'installation logique. | - Navigate to the administration notifications to carry out the logical installation. |
| |
| ==== Etape 2 : Installer les appels dans le thème Moodle ==== | ==== Step 2: Install the calls in the Moodle theme ==== |
| |
| Les thèmes de Moodle (Moodle 2.x) sont basés sur des "mises en page types" d'écrans (layouts) asociés à des types logiques de page. Vous devrez modifier légèrement les mises en page principales du thème pour ajouter l'appel à l'affichage des notifications juste en dessous de l'ouverture du corp (BODY) de document : | Moodle themes (Moodle 2.x) are based on typical screen "layouts" associated with logical page types. You will have to slightly modify the main layouts of the theme to add the call to display the notifications just below the opening of the document BODY: |
| |
| Ouvrez les fichiers de layout correspondant aux pages principales. Attention, les noms et le nombre de ces pages peuvent largement varier d'un thème à un autre. | Open the layout files corresponding to the main pages. Beware, the names and the number of these pages can vary widely from one theme to another. |
| |
| Identifiez l'ouverture de document, usuellement : | Identify the document opening, usually: |
| |
| <body <?php echo $OUTPUT->body_attributes(); ?>> | <body <?php echo $OUTPUT->body_attributes(); ?>> |
| <?php echo $OUTPUT->standard_top_of_body_html() ?> | <?php echo $OUTPUT->standard_top_of_body_html() ?> |
| |
| et remplacez cette ouverture par : | and replace this opening with: |
| |
| <body <?php echo $OUTPUT->body_attributes(); ?>> | <body <?php echo $OUTPUT->body_attributes(); ?>> |
| <?php | <?php |
| require_once($CFG->dirroot.'/local/technicalsignals/lib.php'); | require_once($CFG->dirroot.'/local/technicalsignals/lib.php'); |
| local_print_administrator_message(); | echo local_print_administrator_message(); // <= line to add |
| echo $OUTPUT->standard_top_of_body_html() | echo $OUTPUT->standard_top_of_body_html() |
| ?> | ?> |
| |
| [[:local:technicalsignal|Revenir à l'index du composant]] | ---- |
| | <html><!-- nomoodle --></html> |
| | [[:local:technicalsignal|Back to the component index]] - [[:plugins|Plugins index]] |
| | <html><!-- /nomoodle --></html> |