Forums
I changed the layout of the slides form with panels.
Now i would like to change the layout of slides inside a course.
When i make changes in panels to the slide layout these work when you go the the slide itself.
But when you start a course and the slide is a part of the course then the layout doesn't work.
How can i theme the slides inside a course?
Thanks
Hello,
In reply to Hello, by Pepe
Drupal issue
Hi GoempieK,
Hi GoempieK,
When you are taking a lesson, you are looking at the questions with a special view mode (question).
So for the slides(quiz_directions) thats what you should look at, the quiz_directions content type in question view mode.
Best regards
In reply to Hi GoempieK, by admin
Thanks
In reply to by anonymous_stub (not verified)
DisplaySuite
Hi GoempieK,
Hi GoempieK,
You can take a look at the function quiz_take_question_view in profiles/opigno_lms/modules/contrib/quiz/quiz.module
Best regards
In reply to Hi GoempieK, by admin
theme_quiz_single_question_node
update to quiz 7.x-5.2
Hi GoempieK,
Hi GoempieK,
No, regarding branch 5 of quiz you will have to wait for it to be released on Opigno.
The drupal issue that you linked is very old, does not apply anymore, improvements have been done in the meanwhile, after the node_build_content the function theme_quiz_single_question_node is now called via theme('quiz_single_question_node...
This means that its pretty easy to change it to add specify a specific template file with the hook_theme_registry_alter.
https://api.drupal.org/api/drupal/modules%21system%21system.api.php/function/hook_theme_registry_alter/7.x
Best regards
almost there