General developer forum

Quiz Redesign

 
Picture of INNOVA Egy
Quiz Redesign
 

Hello,

Is there any way to change the course quiz page. I want to redivide it to be like this picture.



Where i can find the html code for the quiz attempt page?


Thank you! 

 
Average of ratings: -
Picture of INNOVA Egy
Re: Quiz Redesign
 
any one can help me ?
 
Average of ratings: -
Davo
Re: Quiz Redesign
Group Core developersGroup Particularly helpful MoodlersGroup Plugin developers

There is no HTML code for the layout of the quiz. There is PHP code that generates the HTML, as it is requested.

What you are requesting looks like a fairly significant change to the layout of the quiz, so it's not something that can be quickly fixed in a forum post here.

As a starting point, you can look at the function attempt_page() in mod/quiz/renderer.php. Once you've traced through the function calls from that, you should be able to adjust your theme to override the functions in this renderer and output a custom layout: https://docs.moodle.org/dev/Overriding_a_renderer


 
Average of ratings: -