Page 1 of 1

Quizzard doesn't send a copy to quiz taker

Posted: Fri Dec 03, 2010 10:56 am
by elina
Hi

I am using Quizzard module 0.8.2, and it works very well. I use it together with CMS Version 1.6.8, CMSMailer 1.73.14.

Unfortunatelly it doesn't send a copy of the results to the quiz taker. It does send them though to me as an administrator. Actually I receive 2 e-mails, one for the administrator, and the one that should go to the quiz taker. 
I also use Form Builder on another part of the site and itworks fine. So I guess the problem with Quizzard is somewhere in its codes?

This are the templates from "Quiz Taking":
(Don't know if these are the relevant once...)
Template for Quiz Taking:

Code: Select all

{* this template controls the display of Quiz pages *}
{if $message!=""}<strong>{$message}</strong><br />{/if}
{if $remedial == '0'}
<p><strong>{$quizzard_taker_name}</strong> ({$quizzard_taker_email})</p>
<p class="place_in_quiz">{if empty($pagenav)}{$pagexofy}{else}{$pagenav}{/if}</p>
{/if}
<div class="quiz">
{$startform}
{foreach from=$questions item=entry}
{if $entry->type == 's'}
<h2>{$entry->question}</h2>
{elseif $entry->type == 't'}
<h3>{$entry->question}</h3>
{else}
	<p class="quiz_item">{if $entry->num != ""}{$entry->num}) {/if}<span class="question">{$entry->question}</span>{if $remedial == '1' && $entry->correct != '1'}{$question_wrong}{/if}<br />
	<span class="answers">
   {if $entry->type == 'm' || $entry->type == 'c'}
		{foreach from=$entry->answers key=answer_no item=answer}
		{$answer}<br />
		{/foreach}
	{/if}
	</span>
	</p>
{/if}
{/foreach}
<br />
{$hidden}{$back}{$save}{if $lastpage == 1}{$submit}{else}{$continue}{/if}
{$endform}
</div>
Template for Quiz-Taker's Details

Code: Select all

{if $message!=""}<strong>{$message}</strong><br />{/if}
<div>
{$startform}
<p class="quizrow">
<strong>Моля, попълнете данните, за да започнете теста:</strong><br/><br/>
<label for="name">{$title_name}{if $req_user}*{/if}:</label><br/>
{$input_name}
</p>

<p class="quizrow">
<label for="email">{$title_email}{if $req_user}*{/if}:</label><br/>
{$input_email}
</p>

{foreach from=$extras item=entry}
        	<div class="quizrow">
			{$entry.label}{if $entry.required}*{/if}:
			{$entry.input}
			</div>
{/foreach}

<div class="quizrow">
<label for="send_a_copy">{$title_send_a_copy}:</label>
{$input_send_a_copy}
</div>

<div class="quizrow">
{$quiz_id}{$takequiz}
</div>
{$endform}
</div>
Can anybody help solve the problem?
Thanks in advance.