Blocks: Featured Courses

Maintained by Picture of Daniel Neis Araujo Daniel Neis Araujo
This blocks allow to select some courses to be displayed on front page. It is also possible to set sort order.
289 sites
28 fans

With this block you can select a set of courses to be displayed on frontpage.

For each course, the block will show it's name with a link to course page, it's summary and summary files.

The following steps should get you up and running:


  • Put these files at moodle/blocks/featuredcourses/

  • Log in in your Moodle as Admin and got to admin/index

  • Follow the instructions to install the block

  • This block is only visible on site front page

  • To select featured courses, add the block to front page, got to edit settings, click on the link on the settings screen.

  • The order of the courses displayed by the block is defined by the "sortorder" field. It is an integer field that the records are ordered by.

Good luck!


Screenshot #0


Picture of Daniel Neis Araujo
Daniel Neis Araujo (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of David Mudrák
    Thu, 4 Jun 2015, 6:41 PM

    Thanks Daniel for sharing this plugin with the community. I found the block working as expected. The capabilities are correctly checked in the custom editing scripts. Overall coding is sane and easy to follow and understand. Well done. During the review, I spotted just a minor thing regarding the strings capitalisation and reported it into your tracker. Also, this would really deserve some screenshots added. With the hope they will be provided soon, you are cleared to land now. Welcome to the Plugins directory!

  • Picture of Daniel Neis Araujo
    Thu, 11 Jun 2015, 2:41 AM
    Thanks for the review and for accepting the plugin. I've fixed the capitalization issue and added a sample screenshot. =)
  • Picture of Steve Taylor
    Thu, 12 May 2016, 10:44 PM
    I just want to clarify this function: It allows each individual user to determine which of their enrolled courses appear on the front page? My faculty would love this, as we keep several semesters of courses online, making for a long course list.
  • Picture of Daniel Neis Araujo
    Thu, 12 May 2016, 11:54 PM
    This plugin only allows to select one list of courses for everyone to see on the frontpage.

    To allow users to select which courses they see when they log in, you may use the "redirect to dashboard" feature and on the dashboard, using the default center block Course Overview ( each user can select the order of thec ourses and how many courses are shown on the list.
  • Picture of Henry Nguyen
    Mon, 30 May 2016, 4:59 PM
    Does this block just appear on the left or right of the front page? I tried to locate it in the middle but I found no way. Does anyone here give me some intructions?
  • Picture of Daniel Neis Araujo
    Mon, 30 May 2016, 7:59 PM
    Hello, Henry

    it will depend on the theme you are using.
    Some themes only have "block regions" on the sides, but some has a central block region.

    Kind regards,
  • Picture of Henry Nguyen
    Sun, 12 Jun 2016, 4:04 PM
    phew, It's a big regret that my theme doesn't support to have it in the central region.
  • Picture of Robert Schrenk
    Fri, 5 Jan 2018, 8:47 PM

    I would like to place this block on the dashboard of all users. Why is it limited to the frontpage? Is there a way to change this behavior?

    Kind regards
  • Picture of Daniel Neis Araujo
    Tue, 9 Jan 2018, 4:30 AM

    I just made a new release with this change.
  • Picture of Amruta Jamale
    Mon, 12 Feb 2018, 8:11 PM
    I am using featured courses block for my moodle site. However, nothing is being displayed.
    Please help, it's urgent.
  • Picture of Daniel Neis Araujo
    Wed, 14 Feb 2018, 7:08 PM
    Hello, Amrut

    you have to go to the block settings and choose which courses you would like to display.
  • Picture of David Heuring
    Thu, 22 Feb 2018, 10:10 PM
    Hi Daniel,

    I selected one course and then in the sort order I put "1" (w/o the quotes). It doesn't accept this number. Can you tell me what I'm doing wrong? Moodle 3.4, Fordson Theme.
  • Picture of David Heuring
    Fri, 23 Feb 2018, 7:58 PM
    Me again. Disregard my comment above. It's working correctly. I guess I expected the edit page to close when I clicked Save. Since it doesn't, I thought it was not accepting the integer in the sort order box. After I went to the Home page, the Featured Course block was displaying correctly. Sorry for the bother!
  • Picture of Bert van der Hooft
    Wed, 28 Mar 2018, 7:03 PM
    In moodle 3.4.2 get an error in changing tot other role: Exception - Class 'coursecat_helper' not found.
    Could not report it in tracker. gave an error "Minimum length is characters.", which is meaningless.
    Plugin uninstalled. Error disappeared.
    A pity, because this plugin is promising. Need to have it located on the central panel in Boost (home page and dashboard)

  • Picture of Daniel Neis Araujo
    Wed, 4 Apr 2018, 8:32 PM
    Hello, Bert

    Thank you for the report! I just made available here a new version that works on 3.4
    I moved the repository to gitlab:
    The issues on github may not work anymore as I have archived the repo there.
1 2
Please login to post comments