Forums
hi!
i look for change destination of finish button,
i have created a test, that is composed with 2 quizzes. it seems to be one test, and when we translate from the first one to the second one the finish button redirect to a page that describe the second part with link to the second take.
i want that the redirection of the finish button change according the nid node, so i added this code to the function: function finished() in quiz.module
if($quiz->nid="76") {
drupal_goto('quiz/104/verbal-section');
} elseif($quiz->nid="8") {
drupal_goto(node/8/results);
}
the code here is statique to simplifie things for me and have a good result... but the button finish now, only redirect to quiz/104/verbal section, even when the quiz->nid is different of "76" even when it is "8" or any other nid.
it does not care of the if or the elseif
have an idea please, may be that i m coding in the wrong place!!
thank you in advance
Sanachr
change look of quiz take page
Hi sanachr, this was done on
Hi sanachr, this was done on our latest release.
Update the distribution and it will be working as you want it.
Best regards
In reply to Hi sanachr, this was done on by James Aparicio
i made changes that i fear
http://cgit.drupalcode.org
http://cgit.drupalcode.org/opigno_quiz_app/commit/?id=c44b3f3
In reply to http://cgit.drupalcode.org by James Aparicio
this is grate, but it comes
Hi sanachr,
Hi sanachr,
Set the weight of navigation to 50 for example and doubtfull to 49.
Best regards
In reply to Hi sanachr, by James Aparicio
thank you... it have been