• I am utilizing Slickquiz to provide students will lots of chance to practice their Chinese language skills. And all my implementations have been working fine, until now.

    I am trying to get the quiz to open on a quiz template page. In other words I am passing the quiz ID in the URL to a page that is based on a template which takes the ID and displays the quiz. Seems simple enough, but it doesn’t work. All that is displayed is

    Get Started!
    Your Score:
    Your Ranking:

    Julie, you mentioned in another thread that this symptom is the result of not loading the script into the page. However, I can see the slickquiz script when I “view page source”. So it seems like the problem must lie elsewhere.

    Any suggestions would be greatly appreciated. Thanks!

    https://www.ads-software.com/plugins/slickquiz/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mirgcire

    (@mirgcire)

    More information: There seems to be a javascript error

    Uncaught TypeError: undefined is not a function

    When I click on the error in the chrome debug window, I find:

    <script type="text/javascript">
         jQuery(document).ready(function($) {
              $("#slickQuiz10").slickQuiz({     (X)
                    json:  {"info":{"name":"Q2A", .......

    I marked the line in error with (X)

    Oh … it must be missing the definition to “slickQuiz”

    Thread Starter mirgcire

    (@mirgcire)

    Well, this might be a total hack, but it worked.

    Since I am using a template page, I just added these three lines just above the footer.

    <link rel='stylesheet' id='slickquiz_css-css'  href='https://www.effectivechinese.net/wp-content/plugins/slickquiz/slickquiz/css/slickQuiz.css?ver=4.1' type='text/css' media='all' />
    <link rel='stylesheet' id='slickquiz_front_css-css'  href='https://www.effectivechinese.net/wp-content/plugins/slickquiz/css/front.css?ver=4.1' type='text/css' media='all' />
    <script type='text/javascript' src='https://www.effectivechinese.net/wp-content/plugins/slickquiz/slickquiz/js/slickQuiz.js'></script>

    So now it is working fine

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘New twist on "quiz not working for me"’ is closed to new replies.