Outils pour utilisateurs

Outils du site


format:page:installguide

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
format:page:installguide [2026/02/09 20:59] – adminformat:page:installguide [2026/11/13 22:01] (Version actuelle) – modification externe 127.0.0.1
Ligne 1: Ligne 1:
-====== Page format : Installation Guide =====+===== Page format : Installation Guide =====
  
 The page format is a very powerful format, but its installation may be non-trivial. It is not recommended for people not having a minimal architectural knowledge of Moodle, and with low coding skill in LAMP open-source platforms. The page format is a very powerful format, but its installation may be non-trivial. It is not recommended for people not having a minimal architectural knowledge of Moodle, and with low coding skill in LAMP open-source platforms.
Ligne 10: Ligne 10:
    * Edit the themes used to include additional layouts (layouts) in the page format    * Edit the themes used to include additional layouts (layouts) in the page format
  
-====Necessary components ====+==== Necessary components ====
  
 In addition to the "format/page" component, you will need to install:  In addition to the "format/page" component, you will need to install: 
  
-   * [[blocks:pagemodule|The "Page Module"]] block: This block is responsible for proxying Moodle's activity modules as blocks to unify the page construction process. +   * The [[blocks:pagemodule|Page Module]] block: This block is responsible for proxying Moodle's activity modules as blocks to unify the page construction process. 
- +   * The [[blocks:pagetracker|Course Summary]] block: This block offers a simple menu consisting of the pages available from a given root. Its implementation is kept simple. 
-   * [[blocks:pagetracker|The "Steps of training]] block: This block offers a simple menu consisting of the pages available from a given root. Its implementation is kept simple. +
  
 ==== Installation process ==== ==== Installation process ====
  
-== Download and install components ===+== Download and install components ==
  
    - Unpack the page format archive in the ''/course/format'' directory of your Moodle installation    - Unpack the page format archive in the ''/course/format'' directory of your Moodle installation
Ligne 47: Ligne 46:
 To activate this layout, edit the **config.php** file of the target theme and add the following lines in the layout definition (Php table):  To activate this layout, edit the **config.php** file of the target theme and add the following lines in the layout definition (Php table): 
  
-    'format_page' => array(+    'format_page' => [
         'file' => 'page.php',         'file' => 'page.php',
         'regions' => array('side-pre', 'main', 'side-post', 'footer-left', 'footer-middle', 'footer-right'),         'regions' => array('side-pre', 'main', 'side-post', 'footer-left', 'footer-middle', 'footer-right'),
         'defaultregion' => 'side-post',         'defaultregion' => 'side-post',
-    ),+    ],
          
-    'format_page_action' => array(+    'format_page_action' => [
         'file' => 'page.php',         'file' => 'page.php',
         'regions' => array('side-pre', 'side-post', 'main', 'footer-left', 'footer-middle', 'footer-right'),         'regions' => array('side-pre', 'side-post', 'main', 'footer-left', 'footer-middle', 'footer-right'),
         'options' => array('langmenu' => true, 'noblocks' => true),         'options' => array('langmenu' => true, 'noblocks' => true),
         'defaultregion' => 'side-post',         'defaultregion' => 'side-post',
-    ),+    ],
  
 You will probably have to review the header and footer sequences in the layout **page.php** file. Indeed, each theme producer has his own writing of these sequences. The "active" part of the layout is: You will probably have to review the header and footer sequences in the layout **page.php** file. Indeed, each theme producer has his own writing of these sequences. The "active" part of the layout is:
format/page/installguide.1770667160.txt.gz · Dernière modification : de admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki