Course slider

Blocks ::: block_course_slider
Maintained by Manoj Solanki, Jez H, Kevin Moore
A simple course slider block that displays a chosen list of courses in a carousel.
Latest release:
135 sites
28 fans

Course Slider

A simple course slider block that displays a chosen list of courses in a carousel.

The course slider block uses the popular slick jquery slider.  Various options are available to configure for each block, as well as general settings, including:

- Styling, such as border, image height

- Navigation: Number of slides, navigation arrows and more

- Custom CSS and Javascript file inclusion

Currently works with the Adaptable theme.

How do I get set up?

Clone this repository directly under <Moodle installation directory>/blocks/course_slider or download the zip file to <Moodle installation directory>/blocks/ and unzip it there.


Site-wide configuration options are available under:  Site Administration -> Plugins -> Blocks -> Course slider

Block settings are available by editing the block configuration.


Developed by:

 * Kyriaki Hadjicosta (Coventry University)

 * Manoj Solanki (Coventry University)

Co-maintained by:

 * Jeremy Hopkins (Coventry University)

 * Fernando Acedo (


  • Moodle 3.2, 3.3
  • Adaptable version 1.4


Adaptable is licensed under:

GPL v3 (GNU General Public License) -

The Font Awesome font (by Dave Gandy) is licensed under:

SIL Open Font License v1.1 - 

Font Awesome CSS, LESS, and SASS files are licensed under:

MIT License -


This plugin is part of set Adaptable UI.


Screenshot #0


Manoj Solanki (Lead maintainer)
Jez H: Co-maintainer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Tue, Jul 25, 2017, 2:18 PM
    Hello, excited about this block, however when will it be available for regular Boost theme? Thank you!
  • Wed, Jul 26, 2017, 3:41 PM
    This block is part of the Adaptable UI and it is only compatible with Adaptable theme.
  • Thu, Dec 7, 2017, 3:07 AM

    I installed this plugin and added this to the block regions area on my front page. When I was adding the course ID to the settings our courses have letters and numbers. Now I am getting a database error (see below) and I can no longer get to the home page. I turned off the blocks, I deleted the course, I tried uninstalling the plugin and nothing works! I am in desperate need of help with this. How do I get this off of my front page? Do I need to remove this from the database and if I do where do I go to do this? Please anything you know would really help.

    Debug info: SQLState: 42000
    Error Code: 8114
    Message: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]Error converting data type nvarchar to bigint.

    SELECT * FROM mdl_course WHERE id = N'PG0205'
    [array (
    0 => 'PG0205',
    Error code: dmlreadexception

    × Stack trace: •line 486 of \lib\dml\moodle_database.php: dml_read_exception thrown
    •line 324 of \lib\dml\sqlsrv_native_moodle_database.php: call to moodle_database->query_end()
    •line 431 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->query_end()
    •line 896 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->do_query()
    •line 972 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->get_recordset_sql()
    •line 1387 of \lib\dml\moodle_database.php: call to sqlsrv_native_moodle_database->get_records_sql()
    •line 1360 of \lib\dml\moodle_database.php: call to moodle_database->get_records_select()
    •line 121 of \blocks\course_slider\block_course_slider.php: call to moodle_database->get_records_list()
    •line 425 of \blocks\moodleblock.class.php: call to block_course_slider->specialization()
    •line 1971 of \lib\blocklib.php: call to block_base->_load_instance()
    •line 2332 of \lib\blocklib.php: call to block_instance()
    •line 160 of \lib\classes\plugininfo\block.php: call to blocks_delete_instance()
    •line 187 of \lib\adminlib.php: call to core\plugininfo\block->uninstall_cleanup()
    •line 1440 of \lib\classes\plugin_manager.php: call to uninstall_plugin()
    •line 98 of \admin\plugins.php: call to core_plugin_manager->uninstall_plugin()

    × Output buffer:


  • Thu, Dec 7, 2017, 4:58 PM
    Please use our tracker to report any issues: or use the moodle forum for questions. In this scenario you could try removing the plugin using the usual site administration menu. Site administration -> plugins overview -> view all plugins. Then find course_slider and select uninstall. After that remove the entire course_slider folder. If the uninstall fails with issues related to the plugin, again please use our issues tracker.

  • Thu, Feb 22, 2018, 5:00 AM
    there are a problem with rtl languages
    and can you add the ability to select a single category
  • Tue, Feb 27, 2018, 2:59 AM
    RTL is not tested in this block. If you can do it and add the issues in the tracker then we'll try to fix the issues.

    We'll think about a category
  • Ricardo Caiado
    Tue, Apr 3, 2018, 8:33 AM
    Is there any moodle 3.4+ update?
  • Tue, Apr 3, 2018, 3:41 PM
    We will look to release a 3.4 compatible version soon.
  • Mon, Aug 27, 2018, 3:50 AM
    Hi great plugin. is there someting I can do if I want to use it under moodle 3.1 ??
  • Thu, Nov 8, 2018, 2:15 PM
    Any plans to release it for 3.5?
  • Wed, Dec 5, 2018, 1:13 AM
    Love this slider, we use it on our frontpage. Just wondering if there is any way to make the hover colour more transparent. Our branding colour make the hover a little dark. Thanks
  • Sun, Jan 6, 2019, 3:34 PM
    Any way to do this as well on the dashboard page?
  • Mon, Jan 28, 2019, 4:58 PM
    i use moodle 3.6 and adaptable theme. how i can use this plugin in moodle 3.6, or maybe i can use other alternative plugin? thx
  • Wed, May 29, 2019, 7:48 AM
    I use Moodle is 3.6, can I use this plugin, or are there any other?
  • Tue, Mar 9, 2021, 11:33 PM
    If you want to use v1.0.1 in moodle 3.10 you need to modify two files:

    1. block_course_slider.php
    Remove line 32: require_once($CFG->libdir . '/coursecatlib.php');

    2. renderer.php
    Change line 177: Change "course_in_list" to "course_course_list_element"
1 2
Please login to post comments