From fed67b67840ea23ee4015229392fe72805f253cc Mon Sep 17 00:00:00 2001 From: Bas Brands Date: Thu, 13 Dec 2018 15:00:27 +0100 Subject: [PATCH] MDL-64388 core_themes: update docs on new required output method * Method standard_after_main_region_html was added to the core_renderer used by the messaging ui to message drawer --- theme/upgrade.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/theme/upgrade.txt b/theme/upgrade.txt index 2062b8b2b4d..a300d62a055 100644 --- a/theme/upgrade.txt +++ b/theme/upgrade.txt @@ -3,6 +3,13 @@ information provided here is intended especially for theme designer. === 3.6 === +* A new callback has been added to the theme layout files allowing plugins to inject their content + into the page. For Boost it was added as a mustache variable "{{{ output.standard_after_main_region_html }}}" in + templates/columns1.mustache and templates/columns2.mustache. In bootstrapbase it was added as a + function call "$OUTPUT->standard_after_main_region_html()" in layout/columns1.php, layout/columns2.php. + and layout/columns3.php. Child themes not inheriting these templates should add the function call + after the div containing the main content region. Please refer to the messaging drawer UI for an example of + making use of this new feature. * The body tag has various browser-specific classes for those cases where some browser-sniffing is unavoidable. This used not to recognised Microsoft Edge, but now it does (class 'edge'). Also, both Safari and Chrome used to be