Blocks: Adaptable News Slider

block_news_slider
Maintained by Picture of Manoj Solanki Manoj Solanki, Picture of Fernando Acedo Fernando Acedo, Picture of Jez H Jez H
Part of the Adaptable UI set, this block allows you to add a news slider that displays: 1: Unread course announcements (from all enrolled courses) 2: Site announcements (front page news announcements) 3: Both of the above (combined course and site announcements) The slider uses the jQuery slick slider and whilst designed to work with the Adaptable Theme, it *may* work with other themes.
177 sites
172 downloads
10 fans

Moodle News Slider is a jquery news slider that integrates the slick carousel jquery slider with some customisation.  It has been designed to work well on large and small screen devices.  It displays site announcements, course announcements for the current user, or both of these.   These are ordered by date.

Currently this plugin works only with the Adaptable theme, version 1.4 onwards.

Configuration

Each slider instance can be configured to display only site announcements, course announcements or both. There are also options for max length of subject and excerpt strings.  Full configuration options available are shown below.  When used on a course page, only that specific course's unread announcements will display.


General configuration

  • Configurable max length of excerpt
  • Configurable max length of subject
  • Use caching plus cache expiry time


Per instance configuration

  • Option to display site news or course news or both
  • Maximum number of site announcements to display
  • Maximum period (in days) to show site announcements for
  • Link to older news items
  • Show bullet (dots) navigation on bottom of slider


Compatibility

  • Moodle 3.2, 3.3, 3.4
  • Adaptable version 1.4 onwards

Guidelines for use

You may want to experiment with the general configuration settings. E.g. for wider displays, you could increase max lengths of excerpts and vice-versa.


Sets

This plugin is part of set Adaptable UI.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

Picture of Manoj Solanki
Manoj Solanki (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Plugins bot
    Thu, 14 Sep 2017, 5:10 PM
    Approval issue created: CONTRIB-7046
  • Picture of Enrique Castro
    Tue, 27 Feb 2018, 9:14 PM
    Hi: I know that this is designed to work with Adaptable theme. In fact, at my University we are using Adaptable currently (on moodle 3.1). But our planification for 2018-19 include using moodle 3.4 and Boost theme. This block is breaking javascript when displayed with Boost theme and derivatives. Nothing that uses javascript is working in Boost with this block.

    Any hint on where to search to fix this?
  • Picture of Fernando Acedo
    Wed, 28 Feb 2018, 2:17 AM
    As you stated, this block is part of Adaptable UI and only works with Adaptable. Anyway, this block never could work with Boost because are based in a different Bootstrap version.

    You are free to modify the code to adapt the block for Boost.
  • Picture of Manoj Solanki
    Fri, 2 Mar 2018, 12:13 AM
    Whilst the block has been designed to work with Adaptable UI, it could work with Boost. I suggest you check if anything else on the page, such as other custom block plugins, are conflicting with this plugin.
  • Picture of Cathy Hunt
    Fri, 2 Mar 2018, 12:15 AM
    Love this slider but just checking if I can change the colour.. as orange isn't in our branding
  • Picture of Jamie Kramer
    Thu, 8 Mar 2018, 10:56 PM
    I've reported an issue with installing this plugin at https://bitbucket.org/covuni/moodle-block_news_slider/issues/31/dependencies-check-failed
    There is a dependencies check error when installing, even with theme_adaptable already installed.
  • Picture of Manoj Solanki
    Wed, 18 Jul 2018, 10:08 PM
    @Cathy, it is possible to change the banner colour in custom css for the theme. You can modify the background colour for this css class: ".slider-banner-col" in your custom css settings.
  • Picture of Rheman Pessek
    Tue, 28 Aug 2018, 1:53 PM
    Hello. Great plugin. I am using the lastest release under moodle 3.3 with adaptable plugin. But I have created course announcement but nothing is displayed on Adaptable News Slider. Moreover how to create site announcement under moodle 3.3.

    regards
  • Picture of Manoj Solanki
    Mon, 3 Sep 2018, 3:50 PM
    Hi Rheman,

    Course announcements display for users enrolled on that particular course only. Maybe that's the issue. Other than that, check the other settings for news slider (maximum period) and cache settings. If cache enabled, it may not show straight away.

    M

Commenting temporarily disabled