Progress Bar with Questions

Progress Bar with Questions

- Ruth Canton の投稿
返信数: 3

I can't make the progress bar work when I add a question page.

The progress bar only appears to work with content pages or am I doing something wrong here?

Ruth Canton への返信

Re: Progress Bar with Questions

- Joseph Rézeau の投稿
画像 Core developers 画像 Particularly helpful Moodlers 画像 Plugin developers 画像 Testers 画像 Translators

Hi Ruth,

Which version of Moodle? Which theme are you using?

I hope you are testing this with a student login, the progress bar does not show when logged in as teacher role.

Are you not confusing the "left menu" (1) with the progress bar (2)?

Joseph

screenshot #1

Joseph Rézeau への返信

Re: Progress Bar with Questions

- Joe Hayes の投稿

I think what Ruth means is (and please correct me if I'm wrong, Ruth) that the progress bar displays OK on question pages but if question pages (and therefore branching paths) are included in your lesson, it doesn't work in the sense that the progress bar is not accurate by the time you get to the end of the lesson, ie.  you'll get the last page in the lesson and the progress bar will be at, say, 70% for example.

It seems like all pages are counted in the progress bar calculation, even though students may never see some pages depending on their responses to questions resulting in jumps to different branches.  In my case, I have a very simple lesson comprising 4 content pages, then a question page with 2 options.  Each option takes the user to another branch containing 2 content pages each, then both branches end and jump back to a final content page that all users see regardless of which option they choose earlier.  So a total of 10 pages, 8 of which will be seen by any given student.

When I test the lesson with a student login, the progress bar only shows 80% by the time I reach the last page of the lesson - I'm assuming that the progress bar calcualtion takes every page into account even though not every page will be seen by the user thanks to the nature of the lesson and the branching path provided by the question page.  Again, 10 total pages, 8 of which will be seen by any student doing the lesson, 8/10 = 80%.

Is there any way to get around this?  I've expiremented with clusters and end of branch pages but haven't had any success. 

Joe Hayes への返信

Re: Progress Bar with Questions

- Joseph Rézeau の投稿
画像 Core developers 画像 Particularly helpful Moodlers 画像 Plugin developers 画像 Testers 画像 Translators

Thanks for your message in this discussion, Joe, and for the private exchanges we've had.

After some thorough testing, I'm afraid I'll have to say that the Lesson Progress bar only works correctly for lessons with a "straightforward" navigation, such as page 1 -> page 2 -> page n -> end of lesson. It is not guaranteed to work with pages "jumping all over the place".

I have accordingly updated the documentation at Lesson_settings#Progress_bar.

Joseph