Course Announcement

Local plugins ::: local_course_announcement
Maintained by Jan Eberhardt
This extension allows administrators to display a message on top of every course, which can be used to reach users on an urgent matter.
Latest release:
61 sites
13 downloads
10 fans

Usage

Go to 'Site administration' > 'Plugins' > 'Local Plugins' > 'Course Announcement' and turn course announcment on (visible). You can define the message there as well.

Styling

This plugin uses the Moodle standard classes 'alert', 'alert-info', 'alert-block' and, in addition for customisation, 'courseannouncement' for displaying the message. You may change the CSS properties of those classes in your theme. In order to add the customizable CSS class 'courseannouncement' JS is needed.


Screenshots

Screenshot #0
Screenshot #1

Contributors

Jan Eberhardt (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Plugins bot
    Hla, 20 Jan 2017, 10:10 PM
    Approval issue created: CONTRIB-6681
  • Bert van der Hooft
    Mgq, 1 Eph 2017, 1:10 AM
    It's a pity that I can't define it per course.
  • Jan Eberhardt
    Mgq, 1 Eph 2017, 3:54 PM
    There's no use to make it course-specific.... If you're administrator you can modify any course you want and add this header. It would be a huge overload for settings page, if I would add a line for each course (some Moodle instances have 3000+ courses).
  • Mathieu Pelletier
    Hla, 19 Mey 2017, 7:57 PM
    This a great plugin, thanks for the work!

    I agree that a per course notice does not make sense, as you can just add a notice to that course and style it with bootstrap. However, it _does_ make sense to allow notices to be applied by category. In most schools, I would wager that different programmes sit under different categories. A perfect use case is if you want to remind all students in a given department about some kind of writing standard or policy change. At the moment, all you can do with this plugin is apply a notice to every course in the system.

    Thoughts on this?
  • Just wondering . . .
    Bil, 29 Aga 2017, 11:25 AM
    Yes, category specific is great.

    And as to course specific, I'd like this functionality for this use case: you want a reminder to be displayed ONCE the next time a student visits, and a click to close. Maybe like this:
    "Reminder, test today is in 302 not 509". Big, green, just sitting there.

    -Derek
  • Benoît Lathière
    Mso, 30 Okt 2017, 5:18 PM
    Hello!

    The plugin seems to work fine on Moodle 3.2. No error.
    Best regards,

    Benoit.
  • Blair F.
    Hla, 18 Jan 2019, 4:16 AM
    I recently got the "bright idea" to customize the RawCSS code, for Boost, so that I could change the colour of the alert box.

    /* Change the colour of the Course Announcement box*/
    .alert-info {
    /*default blue: #d9edf7; */
    /*light pink warning: #fad1e3; */
    /*hot pink warning: #ea1d76; */
    background-color: #fad1e3;
    }

    Unfortunately, this also changed the boxes containing each question in a quiz! Yikes! Poor students! I hear they use pink on prison walls to keep the prisoners calm, so maybe this had a positive effect! Regardless, I changed it all back as soon as it was reported to me.

    It makes sense to me that this plugin uses the .alert-info class, but I don't understand why the question boxes uses that. Mind you, I'm a total CSS amateur. I know just enough to do some damage. tongueout
  • Blair F.
    Sin, 28 Eph 2022, 2:36 AM
    Not sure if there will be any further developments of this very useful and appreciated plugin. However, if there is, one feature that would be excellent would be some sort of per session setting so that the user could dismiss it once per session and not have it come back with every refresh. I think that's called "persistence" but I'm not really sure. It doesn't bother ME, at all, but I've had some complaints about it so I thought I'd see what I could do. I've added the feature request to the bug report page.

    By the way, I've just installed it in Moodle 4.1 (dev) and it seems to work exactly as expected.

    Thanks for your good work.
Please login to post comments