Course slider

Blocks ::: block_course_slider
Maintained by Manoj Solanki, Jez H, Kevin Moore
Part of set Adaptable UI.
A simple course slider block that displays a chosen list of courses in a carousel.
Latest release:
40 sites
34 downloads
29 fans
Current versions available: 1

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

Screenshots

Screenshot #0

Contributors

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

Comments RSS

Show comments
  • Fernando Acedo
    Wed, 26 July 2017, 3:41 PM
    This block is part of the Adaptable UI and it is only compatible with Adaptable theme.
  • marisol castro
    Thu, 7 Dec 2017, 3:07 AM
    Fernando,

    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

  • Manoj Solanki
    Thu, 7 Dec 2017, 4:58 PM
    Please use our tracker to report any issues: https://bitbucket.org/covuni/moodle-block_course_slider/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.

    Thanks
  • baraa abd el-hady
    Thu, 22 Feb 2018, 5:00 AM
    there are a problem with rtl languages
    and can you add the ability to select a single category
  • Fernando Acedo
    Tue, 27 Feb 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, 3 Apr 2018, 8:33 AM
    Is there any moodle 3.4+ update?
  • Manoj Solanki
    Tue, 3 Apr 2018, 3:41 PM
    We will look to release a 3.4 compatible version soon.
  • Rheman Pessek
    Mon, 27 Aug 2018, 3:50 AM
    Hi great plugin. is there someting I can do if I want to use it under moodle 3.1 ??
  • Sa Ku
    Thu, 8 Nov 2018, 2:15 PM
    Any plans to release it for 3.5?
  • Cathy Hunt
    Wed, 5 Dec 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
  • Bert van der Hooft
    Sun, 6 Jan 2019, 3:34 PM
    Nice!
    Any way to do this as well on the dashboard page?
  • arief kurniawan
    Mon, 28 Jan 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
  • Theòs - Hugo Henrique
    Wed, 29 May 2019, 7:48 AM
    I use Moodle is 3.6, can I use this plugin, or are there any other?
  • Peter Scholz
    Tue, 9 Mar 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"
  • Zabelle Motte
    Wed, 20 July 2022, 11:08 PM
    Thanks Peter to propose the tweak to make this very interresting plugin still working for later version of Adaptable. The 1.01 version works fine up to Moodle 3.9+.
    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.
1 2
Please login to post comments