Slide PDF not appearing after upgrade to 1.18

jjemmett
Forums
We recently upgraded to version 1.18 of Opigno. After the upgrade while taking the lesson, the 'slide' question will display no content at all (just the header and footer). All other quiz content appears correctly. When viewing the slide in the manage questions area, the pdf.js javascript shows the pdf slides correctly. Does anybody have any experience fixing this error?
James Aparicio

Hi jjmmett,

Hi jjmmett,

The new version of quiz created its own display mode for questions. 

If you go to structure -> content type -> slide -> manage display -> question

Make sure the fields are not hidden.

Best regards

 

jjemmett

Awesome, thanks for the help

Awesome, thanks for the help that fixed the issue!
bevangg

PDF slide

Hi I had the same issue but this resolved it. What are the recommended settings for display height and width in pdf.js display settings? Best regards
James Aparicio

Hi bevangg,As i said

Hi bevangg,As i said previously, there is a specific view mode for questions now.In your image, i see you are editing the default view mode and not the question view mode.Best regards
bevangg

thanks

Hi James I had already worked it out and got it going now. Is there any way to include pdfs in the body of a lesson page? Best regards
James Aparicio

Hi bevagg,

Hi bevagg,

Ofc there is.

Inside the platon theme, there is a file called node--quiz.tpl.php.

This file prints what you see when you go to the lesson page. To do what you want, load all question type slides for the quiz you are viewing, and for each of these if it has a pdf file print it.

 

Best regards