Moodle: Printing Learner Profiles to PDF

Until the functionality is fixed, this article explains a workaround to print learner profiles to PDF, a single profile on each page, hiding any extraneous content such as the Moodle footer and scroll-to-top button.

Steps

Using Chrome, navigate to the main course page of the course shell that you want to generate learner profiles for.

From the RRU Reports block at the bottom right select Learner Profiles and select Go.

Open the Chrome developer console by pressing the Ctrl-Shift-i buttons on your keyboard. Select the Console tab if it's not already on it.

Paste the following into the Chrome console (next to the >) and then click enter on your keyboard:

document.querySelector('head').insertAdjacentHTML('beforeend', '<style>.rru-report-page{break-before:page;}.main-inner{border:none !important;}#page-footer{display:none !important;}#scrollToTopButton{display:none !important;}</style>');

Right click anywhere on the page and select print.


How to Contact the Computer Services Department


Submit a ticket
To submit a ticket, you will be required to log in using your FULL Royal Roads email address (detailed instructions here)
New! If you do not have a full RRU email address (students not currently in a credit program and/or visitors), you can create a portal account using your personal email address.
Email us at IT Customer Service
Contact Form
Phone: 250-391-2659 Toll Free: 1-866-808-5429
Come visit us in the Sequoia Building
Hours of Operation