Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Bob

    (@prasunsen)

    It’s on line 161 in show_exam.php

    Thread Starter Story of Choice

    (@story-of-choice)

    Thank you for your help. I read the code but I’m not sure what needs to be altered. Can you please tell me?

    Thread Starter Story of Choice

    (@story-of-choice)

    I just noticed that it reads “Editing show_exam.php (inactive)” but found “Editing Watu/watu.php (active)”. I don’t know what it means.

    Plugin Author Bob

    (@prasunsen)

    To be really honest I have no idea what this active/inactive means. If you can edit the file don’t worry about that text.

    Thread Starter Story of Choice

    (@story-of-choice)

    Okay, thanks. What edits should I make to that line?

    Plugin Author Bob

    (@prasunsen)

    You just need to remove that line 161. And have in mind your edit will be gone if you ever update the plugin.

    Thread Starter Story of Choice

    (@story-of-choice)

    Deleting 161 didn’t work, but I may be counting the lines incorrectly (they’re not numbered). Can you please tell me the actual code that needs to be deleted? For example, I deleted

    question_id int(11) unsigned NOT NULL,

    Thank you.

    Plugin Author Bob

    (@prasunsen)

    I don’t think you are editing the correct file. It should be show_exam.php

    This is the code:

    <p><?php _e('Question', 'watu')?> <span id='numQ'>1</span> <?php _e('of', 'watu')?> <?php echo $num_questions;?></p>

    And instead of deleting better change its CSS:

    <p style="display:none;"><?php _e('Question', 'watu')?> <span id='numQ'>1</span> <?php _e('of', 'watu')?> <?php echo $num_questions;?></p>

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    Thread Starter Story of Choice

    (@story-of-choice)

    Success! The code was a few lines lower down. Yours fixed it. Thank you *very* much for your patience and help!

    Best wishes,
    Michelle

    Thanks for your answer here! Shouldn’t this line be hidden though on one page questionnaires?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘New text appeared below quiz; can't delete’ is closed to new replies.