Moodle Plugins directory: Pop up activities | Moodle.org
Pop up activities
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 Assignment, Book, Choice, Custom certificate, Etherpad lite, File resource, Folder, H5P, Page, Poster, SCORM, and URL activities are supported and can be displayed in modals. Other activities will open normally.
The current version has an optional integration with the Deft response block to provide real time updates to the course page. If the block is installed and enabled, changes to module availability and completion will appear on course page whenever they occur without user interaction.
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.
Thank you!
I noticed that the modal title doesn't support multi-lang filter (probably other filters as well). Do you have a plan to enable this support?
I confirmed the new update fix the filter issue. Thanks for fixing this so quickly.
This is strange. I installed this plugin in my local Moodle but when I click Folder and Page, they don't show up in modal pages. What is going on?
If I setup scorm with "Student skip content structure page: always" option I get redirecterrordetected error.
All the best
Greg
In the course settings if you set Show completion on course page to no, it will appear in the show in the modal instead. It seemed redundant to have it in both places. I think that makes sense except for manual completion. I would be handy to mark completion with out having to close the modal. I suppose there should be a setting in the course or site settings.
Thank you for the reply. I have looked three times for this option in course settings and could not find it.
For our use case, in an ideal world, it could show both buttons on modal and also in course view - My thought for this is so a teacher can click 'done' in the modal, close the window and easily view the next activity. by seeing which is the next one to be checked. I'll keep having a look or perhaps you could drop me a message if you have an idea.
Thank you, happy new year.
Greg