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:
38 sites
29 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

Ukázat komentáře
  • Fernando Acedo
    středa, 26. července 2017, 15.41
    This block is part of the Adaptable UI and it is only compatible with Adaptable theme.
  • marisol castro
    čtvrtek, 7. prosince 2017, 03.07
    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
    čtvrtek, 7. prosince 2017, 16.58
    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
    čtvrtek, 22. února 2018, 05.00
    there are a problem with rtl languages
    and can you add the ability to select a single category
  • Fernando Acedo
    úterý, 27. února 2018, 02.59
    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
    úterý, 3. dubna 2018, 08.33
    Is there any moodle 3.4+ update?
  • Manoj Solanki
    úterý, 3. dubna 2018, 15.41
    We will look to release a 3.4 compatible version soon.
  • Rheman Pessek
    pondělí, 27. srpna 2018, 03.50
    Hi great plugin. is there someting I can do if I want to use it under moodle 3.1 ??
  • Sa Ku
    čtvrtek, 8. listopadu 2018, 14.15
    Any plans to release it for 3.5?
  • Cathy Hunt
    středa, 5. prosince 2018, 01.13
    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
    neděle, 6. ledna 2019, 15.34
    Nice!
    Any way to do this as well on the dashboard page?
  • arief kurniawan
    pondělí, 28. ledna 2019, 16.58
    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
    středa, 29. května 2019, 07.48
    I use Moodle is 3.6, can I use this plugin, or are there any other?
  • Peter Scholz
    úterý, 9. března 2021, 23.33
    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
    středa, 20. července 2022, 23.08
    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