Moodle

No content displayed in "slide" area during slideshow mode

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.8.3
  • Fix Version/s: None
  • Component/s: Lesson
  • Labels:
    None
  • Environment:
    mysql 5.0.27, php 5.2.4
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_18_STABLE

Description

I think this is a bug not a feature...

To recreate:

1. Set up lesson in slideshow mode
Display left menu
Create Branch table with test in Page contents but all Description areas empty.

View lesson.
Slide contains Page title from Branch table and Continue button only

2. Set up lesson in slideshow mode
Display left menu
Create Branch table with test in Page contents with one or more Description areas completed

View lesson.
Slide contains Page title from Branch table and content from Page contents.

Activity

Hide
Allisun O'Connell added a comment -

I have also run into this problem with slide show on 1.8.2. I was able to get text to display (sometimes) if I typed it in directly, but copy/paste would never display except in edit mode. However once I turned slide show off, everything shows up in preview mode.

Show
Allisun O'Connell added a comment - I have also run into this problem with slide show on 1.8.2. I was able to get text to display (sometimes) if I typed it in directly, but copy/paste would never display except in edit mode. However once I turned slide show off, everything shows up in preview mode.
Hide
Stuart R Mealor added a comment -

I can confirm the same situation exists with Moodle 1.9.4.

Show
Stuart R Mealor added a comment - I can confirm the same situation exists with Moodle 1.9.4.
Hide
Martin Schuhmann added a comment -

I run into the same problem with Moodle 1.9.1; 1.9.3 should be the same.

Content for non-slideshow-pages is rendered in mod/lesson/view.php line 539 (Moodle 1.9.1): format_text($page->contents, FORMAT_MOODLE, $options).
For slideshow content-pages with answers are rendered in line 734: echo '<div class="contents">'.format_text($page->contents, FORMAT_MOODLE, $options)."</div>\n";

As workaround I have added following lines after line 765 (// a page without answers - find the next (logical) page:

if ($lesson->slideshow) { $options = new stdClass; $options->noclean = true; echo '<div class="contents">'.format_text($page->contents, FORMAT_MOODLE, $options)."</div>\n"; echo '</div><!--end slideshow div-->'; }

Show
Martin Schuhmann added a comment - I run into the same problem with Moodle 1.9.1; 1.9.3 should be the same. Content for non-slideshow-pages is rendered in mod/lesson/view.php line 539 (Moodle 1.9.1): format_text($page->contents, FORMAT_MOODLE, $options). For slideshow content-pages with answers are rendered in line 734: echo '<div class="contents">'.format_text($page->contents, FORMAT_MOODLE, $options)."</div>\n"; As workaround I have added following lines after line 765 (// a page without answers - find the next (logical) page: if ($lesson->slideshow) { $options = new stdClass; $options->noclean = true; echo '<div class="contents">'.format_text($page->contents, FORMAT_MOODLE, $options)."</div>\n"; echo '</div><!--end slideshow div-->'; }
Hide
Stuart R Mealor added a comment -

I'm using 1.9.6 now, and this is still a problem.

As this has been designated a major problem (since version 1.8.2) it would be great if a developer could take a look and resolve - maybe with a temporary patch until Moodle 2.1

From reading the official Roadmap it doesn't look like there is a new version of this module for Moodle 2.0.

It is therefore not great to have a section in the Lesson area of Moodle Docs which tells people about the Slide Show when we know it doesn't work, and hasn't for a long time.

Perhaps this section should have a note about this functionality not working until it is resolved?

Thanks, Stuart.

Show
Stuart R Mealor added a comment - I'm using 1.9.6 now, and this is still a problem. As this has been designated a major problem (since version 1.8.2) it would be great if a developer could take a look and resolve - maybe with a temporary patch until Moodle 2.1 From reading the official Roadmap it doesn't look like there is a new version of this module for Moodle 2.0. It is therefore not great to have a section in the Lesson area of Moodle Docs which tells people about the Slide Show when we know it doesn't work, and hasn't for a long time. Perhaps this section should have a note about this functionality not working until it is resolved? Thanks, Stuart.
Hide
Martin Dougiamas added a comment -

Reassigning this to moodle.com for the time being, since Mark Nielsen is not maintaining Lesson any more. Please comment/vote/patch any crucial bugs that affect you for 2.0 to help us prioritise fixes for the upcoming release.

Show
Martin Dougiamas added a comment - Reassigning this to moodle.com for the time being, since Mark Nielsen is not maintaining Lesson any more. Please comment/vote/patch any crucial bugs that affect you for 2.0 to help us prioritise fixes for the upcoming release.
Hide
Michael de Raadt added a comment -

Thanks for reporting this issue.

We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported.

If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed.

Michael d;

lqjjLKA0p6

Show
Michael de Raadt added a comment - Thanks for reporting this issue. We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported. If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed. Michael d; lqjjLKA0p6
Hide
Steven Evans added a comment -

The slide show option still does not appear to be working for 2.2
I think this is still worth pursuing and having it repaired.

Show
Steven Evans added a comment - The slide show option still does not appear to be working for 2.2 I think this is still worth pursuing and having it repaired.

Dates

  • Created:
    Updated: