Finding a course by name

Name

Quick Course List

Module type

Block

Author

Mike Worth

Released

2009

Maintained

Yes (there's not much to it)

Languages

English

Compliance

Good

Documentation

None

Errors

None

If you have a site with many courses, then searching for a course can sometimes be a challenge. The Quick Course List block offers a solution. As a user types into the search box, it tries to match the search string with substrings of the course titles and course short titles of all courses on a site.

Getting ready

Unzip and copy the block directory into the /moodle/blocks/ directory and visit the Notifications page.

How to do it...

This block is designed to work only on the site root page.

The block will list all matching courses on the site, even if the user is not involved in the course. Because of this, access to the block is limited. Only users with a role that includes permission to see the block will see it; by default this includes administrators, course creators and teachers. You can change the permissions of users with specific roles at Site Administration | Users | Permissions | Define roles. For example, if you wanted to prevent teachers from seeing the block, you can click the configuration icon to edit the role permissions for teachers.

How to do it...

Change the Use Quickcourse List permission to Not set and click the button labeled Save changes at the bottom of the page.

Once you are happy with the list of users that can access the block, you can add the block on the site root page. Go to the site root page and Turn editing on. You can then select the block from the Blocks menu there.

How to do it...

How it works...

When you start typing into the textbox in the block a list of courses appears. The list is a filtered subset of all courses. The filtering is done by attempting to find the query string as a substring inside either the course name or short name of each course.

How it works...

See also

  • My Courses 2 block
  • Related Courses block
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.135.249.220