Note: You are currently viewing documentation for Moodle 3.11. Up-to-date documentation for the latest stable version of Moodle may be available here: Popup activities course format.

Popup activities course format: Difference between revisions

From MoodleDocs
mNo edit summary
mNo edit summary
Line 14: Line 14:


Developers should be able to add similar functionality to other formats by copying the AMD call in format.php and adding this format as a dependency.
Developers should be able to add similar functionality to other formats by copying the AMD call in format.php and adding this format as a dependency.
== Capability ==
Users will only see the popups for he supported activities if they have the capability _format/popups:view_ in the modules context. By default students have this capability. It can be given to other roles or removed at course or activity level.

Revision as of 22:39, 12 April 2021

The Pop up activities course format displays resources and simple activities embedded in modals instead of redirecting from the course page. Otherwise it behaves as the Topics format.

If you are not using heavy server side assessment, but mostly resources and client side activities (SCORM, H5P), this format may help provide more interactive courses by opening the activities in popup modals instead of separate web pages. When students finish an activity or resource, they return to the course page by closing the modal without waiting for the course page to load again. The course page updates activity completion and availability when the modal is closed.

This plugin uses javascript to add AJAX functionality to the standard topics format. Otherwise the format is the same as the Topics format. Currently Book, Choice, Custom certificate , File resource, Folder, H5P activity, Page, Poster, SCORM, and URL activities are supported and can be displayed in modals. Other activities while open normally.

Developers should be able to add similar functionality to other formats by copying the AMD call in format.php and adding this format as a dependency.

Capability

Users will only see the popups for he supported activities if they have the capability _format/popups:view_ in the modules context. By default students have this capability. It can be given to other roles or removed at course or activity level.