Moodle Plugins directory: Course slider | Moodle.org

Course slider
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.
Settings
Site-wide configuration options are available under: Site Administration -> Plugins -> Blocks -> Course slider
Block settings are available by editing the block configuration.
Contribution
Developed by:
* Kyriaki Hadjicosta (Coventry University)
* Manoj Solanki (Coventry University)
Co-maintained by:
* Jeremy Hopkins (Coventry University)
* Fernando Acedo (3-bits.com)
Compatibility
- Moodle 3.2, 3.3
- Adaptable version 1.4
Licenses
Adaptable is licensed under:
GPL v3 (GNU General Public License) - http://www.gnu.org/licenses
The Font Awesome font (by Dave Gandy) http://fontawesome.io) is licensed under:
SIL Open Font License v1.1 - http://scripts.sil.org/OFL
Font Awesome CSS, LESS, and SASS files are licensed under:
MIT License - https://opensource.org/licenses/mit-license.html
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:
block_course_slider
Thanks
and can you add the ability to select a single category
We'll think about a category
Any way to do this as well on the dashboard page?
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"
From the 3.10 version you have to apply the above tweaks to make it work but there is an error, the function that replaces "course_in_list" is "core_course_list_element".
From the 3.10 version the course list block shows two block lines and a small css adaptation succeeds to hide one of them ( display:none for .courseslider-course). Some css adaptations need to be done so that everything continues to work fine. The authors should have a look at that question and update this module, that is our main argument to adopt adaptable theme.