mTouch Quiz
Add a link to final results page (4 posts)

  1. Stef Verbeeck
    Posted 3 years ago #

    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.


  2. gmichaelguy
    Plugin Author

    Posted 3 years ago #

    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.

  3. Stef Verbeeck
    Posted 3 years ago #

    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.

  4. gmichaelguy
    Plugin Author

    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • mTouch Quiz
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic