Course List Block

Course List Block

by Clare Bushnell -
Number of replies: 3

Hello all

Can someone tell me what the actual code (and where I get to it), to remove or amend the "All Courses" link that appears in the course list block? 

For our Moodle site we don't want people linking to the course list, but instead link to a Glossary that contains information about all courses.  Alternativly we may just remove the link totally.

We're finding staff want access to all of their courses at all times, but we are not happy about using the block as we don't want this one link appearing. 

Average of ratings: -
In reply to Clare Bushnell

Re: Course List Block

by Kim Sihota -
You could try using the MyCourses Block, discussion can be found here:
http://moodle.org/mod/forum/discuss.php?d=67494

or the SiteNavigation Block, discussion here:
http://moodle.org/mod/forum/discuss.php?d=103703

In the latest versions of these, Rosario has added admin settings that allow you to turn off the Show all Courses link.

I am switching to these in place of the Standard Course selection box because of the additional control

Kim
In reply to Clare Bushnell

Re: Course List Block

by Ann Adamcik -
To remove the all courses link from the block, go to Site Administration -> Modules -> Blocks -> Courses, and check the 'Hide all courses link' box.

See http://docs.moodle.org/en/admin/setting/blocksettingcourse_list.

If you want to display something else in place of the link, you will need to edit moodle/blocks/course_list/block_course_list.php. Look for the following line:

$this->content->footer = "<a href=\"$CFG->wwwroot/course/index.php \">".get_string("fulllistofcourses")."</a> ...";