Note: You are currently viewing documentation for Moodle 3.6. Up-to-date documentation for the latest stable version of Moodle is likely available here: Integrating Face-to-face sessions on the course page.

Integrating Face-to-face sessions on the course page: Difference between revisions

From MoodleDocs
(Add one of IRD's images)
(Add sidebar)
Line 1: Line 1:
{{Facetoface}}
To display the session dates directly on the course page, add the following
To display the session dates directly on the course page, add the following
code to the print_section() function in course/lib.php:
code to the print_section() function in course/lib.php:

Revision as of 22:59, 26 February 2008

To display the session dates directly on the course page, add the following code to the print_section() function in course/lib.php:

--- /cvs/moodle18/course/lib.php 2007-10-05 20:19:29.000000000 +1300
+++ course/lib.php  2007-11-06 21:14:08.000000000 +1300
@@ -1382,6 +1382,10 @@
                         echo "";
                     }

+                } elseif ($mod->modname == 'facetoface') {
+                    include_once($CFG->dirroot.'/mod/facetoface/lib.php');
+                    echo facetoface_print_coursemodule_info($mod);
+
                 } else { // Normal activity

                     //Accessibility: for files get description via icon.

It will look like this:

Ftof01.png