Pop up activities

Course formats ::: format_popups
Maintained by Daniel Thies
The Pop up activities course format displays resources and simple activities embedded in modals instead of redirecting from the course page.
Latest release:
196 sites
835 downloads
20 fans
Current versions available: 1

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.

This plugin uses javascript to add AJAX functionality to the standard topics format. Otherwise the format is the same as topics format. Currently Book, Choice, Custom certificate, File resource, Folder, H5P, Page, Poster, SCORM, and URL activities are supported and can be displayed in modals. Other activities will 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.

A demonstration course is available at https://openlearner.org/popups.

Testing status

Screenshots

Screenshot #0

Contributors

Daniel Thies (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • Mon, Apr 12, 2021, 9:40 AM
    Approval issue created: CONTRIB-8485
  • Mon, Jul 12, 2021, 9:15 PM
    Hi Daniel. Awesome idea for a plugin! I tested things out and found that it does not show the links to a course with guest access off and self enrollment enabled. We use cohort self enrollment all the time so this would be awesome if that worked with it. Seems to work fine with auto-enrollment and guest access enabled courses.

    I also went ahead and tested if someone deletes a course that was linked in this activity. The course with the activity completely breaks the course. I was wondering if there was a way for the plugin to just warn the teacher that the activity needs attention instead of error out on page load?
  • Mon, Jul 12, 2021, 10:51 PM
    Hi Jeff,
    I am not understanding your question and how enrollment would affect this plugin. Did you mean to comment about a different plugin? Maybe mod_courselinks?
  • Fri, Jul 16, 2021, 9:01 AM
    Hi, we found bug in neweset version, tested in Moodle 3.11.1, in a course we are not able to add block and to hide topic, if we click that menu (to add block and to hide topic), nothing happen

    If we change to other format, we can do that. change again to this format, we can't

    We found the problem only exist to all menu using sesskey (add block, hide topic, etc).
  • Fri, Jul 16, 2021, 12:22 PM
    Thank you Pak for reporting that. I added a new release to fix that that. Let me know if you have anymore problems after the upgrade.
  • Fri, Jul 16, 2021, 4:19 PM
    confirm the newest code is fix above problem, thank you so much
Please login to post comments