Lesson objectives

Blocks ::: block_objectives
Maintained by DavoDavo Smith
Displays current lesson objectives in the side-bar
Latest release:
265 sites
37 fans
Current versions available: 3


This is a block for Moodle 1.9 and Moodle 2.x + 3.x.

It displays current lesson objectives in the side bar (to both teacher and students) and allows a teacher to check them off as they are completed. You can enter a timetable, linked to different groups, so that objectives can be entered as far in advance as you want and will be displayed at the appropriate time.
Other features include:

  • Abiliy to display a large version of the objectives, when teaching from the front of a class room (click on the 'expand' icon)
  • Students can view all the objectives, a week at a time, to help keep track of what they have been doing (and will be doing)


Click on 'Edit objectives ...' in the footer of the block. The first time, this will take you directly to the 'Edit timetables' screen (there is a button at the top of the 'Edit objectives' page to get back here later). For each slot in the timetable, choose a group to display the objectives to (or 'all groups', for everyone on the course), as well as a start / end time for that lesson. Three blank slots are added to each day every time you click 'Save'. Once the timetable slots are filled in, click 'Save and edit objectives', to start entering lesson objectives.

Type in the lesson objectives for each lesson slot, press enter to start a new objective; start a line with one (or two) spaces to indent the objectives. Click on 'Save' before moving to another week (via the next / previous links at the top of the page). Click 'Save and view course' to get back to the course. During a lesson, a teacher can click on an objective to toggle the 'tick' box between completed / not completed (this is just to help keep track of the progress through the lesson and does not affect anything else).


Screenshot #0


Davo Smith (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • cb userpic w harvey
    Fri, Apr 11, 2014, 6:23 AM
    Love the plugin, but have two issues I hope I can clear up:

    1. The clock on the plugin is not in sync with my server clock, so the times I set for display (local time) lead me to a "no objectives" type page. It seems to be behind a good 10 hours or so.

    2. Clicking the check-boxes is usually not successful.

    I'm on 2.6 latest stable, and I typically use Firefox, if that helps.

    Otherwise, very useful plugin! Thanks for that!
  • Davo
    Fri, Apr 11, 2014, 6:45 AM
    1. The plugin requests the current time from the server and then formats it as a date/time based on the current user's timezone. Unless I've missed something this is the same way that all times work in Moodle. When you post a message into a forum, does the timestamp correctly match the time when you created the post? (If not, then you might want to check your timezone setting).

    2. I'm not quite sure what you mean by 'clicking the check-boxes is usually not successful' - do you mean nothing at all happens when you click on an objective? Or does it reload the page, but not update the objective state? Does it give an error message? Or something different? Does it work when not viewing full-screen, or does it work when viewing full-screen, or does it not work in either case?

    The ticking-off of objectives is very simple code (it doesn't do anything with javascript - it simply follows a link to reload the page and mark them as complete), so there isn't a lot to go wrong in it.
  • cb userpic w harvey
    Fri, Apr 11, 2014, 7:02 AM
    Thanks much. Just checked system admin time zone settings. Both Default Timezone and Force Timezone are set to UTC+8. Time here is 7 AM, but objectives block says "No lesson objectives at the moment (11 PM).

    When clicking, most of the time the page does re-load, but the box remains unticked.

  • Davo
    Fri, Apr 11, 2014, 4:24 PM
    You haven't answered my question about the timestamp on forum posts - are they working as expected?

    It is far easier to discuss these sort of things via email, please contact me via moodle@davosmith.co.uk
  • Davo
    Thu, Nov 24, 2016, 4:31 AM
    All automated tests passing in Moodle 3.2 (with some minor tweaks to the behat tests)
  • Davo
    Fri, Nov 10, 2017, 3:26 AM
    All automated tests passing in Moodle 3.4
  • Davo
    Sun, Aug 4, 2019, 8:34 PM
    You can set objectives for as far ahead as you want - just switch to a different week, using the links at the top of the 'edit objectives' page.
  • Paul
    Sun, Aug 4, 2019, 8:39 PM
    Hi, what I would find really useful is to have the lesson objectives linked to a planning calendar, that is to say I'd like to be able to set the lesson objectives maybe a month in advance. As I see it right now, I can only set the objectives at the start of the week, or by scrolling through a sort of week-by-week calendar. Would it be possible to have like a calendar block where you select the month, then select the week and then you would select your day/time slot. Just a thought.
  • Davo
    Mon, Nov 18, 2019, 4:15 PM
    All looks to be working fine in Moodle 3.8.
  • Davo
    Tue, Jun 16, 2020, 12:42 AM
    Automated tests + a few manual checks, suggest this is working fine in Moodle 3.9
  • Davo
    Mon, Nov 9, 2020, 3:56 PM
    Some minor refactoring (to keep code checker happy) and all functionality still works fine in Moodle 3.10.
Please login to post comments