-
Improvement
-
Resolution: Fixed
-
Minor
-
3.1, 3.3
-
MOODLE_31_STABLE, MOODLE_33_STABLE
-
MOODLE_33_STABLE
-
MDL-53978-render-callbacks -
User tours (MDL-52777) should be fully implementable as a plugin with no core hacks required. In order for this to work - we should add callbacks to inject content in the page footer.
The current code in the plugin has these core modifications:
--- a/lib/outputrenderers.php
|
+++ b/lib/outputrenderers.php
|
@@ -783,6 +783,9 @@ class core_renderer extends renderer_base {
|
}
|
|
$loggedinas = '<div class="logininfo">'.$loggedinas.'</div>';
|
+ if (class_exists('\\tool_usertours\\helper')) {
|
+ \tool_usertours\helper::bootstrap_reset();
|
+ }
|
|
if (isset($SESSION->justloggedin)) {
|
unset($SESSION->justloggedin);
|
@@ -1039,6 +1042,9 @@ class core_renderer extends renderer_base {
|
public function footer() {
|
global $CFG, $DB, $PAGE;
|
|
+ if (class_exists('\\tool_usertours\\helper')) {
|
+ \tool_usertours\helper::bootstrap();
|
+ }
|
$output = $this->container_end_all(true);
|
|
$footer = $this->opencontainers->pop('header/footer');
|
|
- caused a regression
-
MDL-58857 SQL errors during web upgrade from 2.7 to 3.3
- Closed
-
MDL-60510 Plugin's lib.php loaded prematurely during plugins installation
- Closed
- has a non-specific relationship to
-
MDL-44078 Proposal: API standard in Moodle that uses autoloading (hooks)
- Closed
- has been marked as being related by
-
MDL-52777 Moodle Tour/Walkthough/Instructional overlays for first time user on page (User tours)
- Closed
- is blocked by
-
MDL-44078 Proposal: API standard in Moodle that uses autoloading (hooks)
- Closed
- is duplicated by
-
MDL-30039 Be able to inject meta | link tags to headers programatically
- Closed
- will be (partly) resolved by
-
MDL-55705 Data/view.php - move $PAGE->set_url before require_course_login() to support usertours
- Closed
- will help resolve
-
MDL-57318 User Tours not supported on new grading interface
- Closed