• Hi all,

    I was wondering if there is a possibility to add a link/button to other quizzes on the final result page of mtouch (not on the questions pages). I tried adding a link almost everywhere in show_quiz.php, without result.

    I’ve tried using the “if($show_final)” php code to make sure the link only appears at the very end, but either it shows nowhere or it shows everywhere.

    <?php } if ($show_final ) {?><p>link to more quizzes</p><?php } ?>

    Any ideas on how to accomplish this are highly appreciated.

    http://wordpress.org/extend/plugins/mtouch-quiz/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author gmichaelguy

    (@gmichaelguy)

    Why don’t you just put HTML in the final screen box in the quiz options page?

    Sorry for slow response. The RSS feed used to send these much quicker than now. I just got this minutes ago.

    Thread Starter Stef Verbeeck

    (@twizted)

    Hi gmichaelguy,

    That’s the thing. Layoutwise, I would prefer to have this link (in our case a banner div) to be displayed at the bottom of the page, underneath the in/correct answers overview, not in the rounded corner div at the top of the page.

    Plugin Author gmichaelguy

    (@gmichaelguy)

    Best bet is to put the banner under the quiz in your WordPress page (not in any quiz option and without modifying the quiz plugin php). Hide it using CSS and then hack my javascript to reveal this banner when someone clicks get results button. You should be able to figure out what function is doing all this quite easily. Turn off “use min” in the mtouchquiz.php file so you can edit the script.js and not the minified one.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add a link to final results page’ is closed to new replies.