Skip to main content

Identifying Course Usage for Specific Activities

The learning environment provides around 30 different types of activities. It can be helpful to identify which course utilizes a specific activity. This can be achieved through a basic search.

NOTE: The following instructions are intended for advanced users familiar with basic HTML concepts, URLs, and query string parameters, as they involve modifying the URL in your browser.

Step-by-step Guide

  1. Log in the learning environment

  2. Navigate to the search page (/course/search.php) and add the "modulelist" query string parameter, assigning it the value that corresponds to the shortname of the desired activity.

Example

To illustrate the above steps, suppose your site is located at https://site.dualcode.com and you want to identify which courses use the "Terms and Conditions" activity. The shortname for the "Terms and Conditions" activity is "legal". Thus, you would navigate to https://site.dualcode.com/course/search.php?modulelist=legal

Important Notes

  • The instructions above are intended for advanced users familiar with basic HTML concepts, URLs, and query string parameters, as they involve modifying the URL in your browser.

  • The shortname of an activity is not always the same as the name displayed in the user interface when adding an activity. For instance, the shortname for the "Terms and Conditions" activity is "legal". To determine the shortname of any activity, view the activity and examine its URL. For example, the URL for a "Terms and Conditions" activity might look like https://site.dualcode.com/mod/legal/view.php?id=10.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.