need help with my gsoc quiz module

View: New views
6 Messages — Rating Filter:   Alert me  

need help with my gsoc quiz module

by sivaji j.g :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am a GSoC student and co-maintainer of quiz module. Quiz users are
expecting for a new feature that lets the quiz attendees to enter some
input (eg age, sex, qualification etc) either at the beginning or end
of the quiz. Each site may have different requirement so the input
form need be dynamic (not everybody will expect to have age with list
select, sex with radio button).

My thought on achieving this is to have a dummy node type
(quiz_feedback) as a part of quiz module and an user defined node
type(custom_quiz_feedback) with fields defined using CCK.
custom_quiz_feedback node form will be attached to quiz_feedback 's
body. When the quiz attendees view the quiz_feedback node they will
have a  form to get the desired input. Is it possible to do this ? or
is there any other better ways to achieve this ?

[sorry for my bad English. I tried to ask the same in IRC but there
was no response]

Re: need help with my gsoc quiz module

by Rosemarie R. Tagliamonte :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
Please remove my email from your listserv.
Thanks,
Rose

sivaji j.g wrote:

> I am a GSoC student and co-maintainer of quiz module. Quiz users are
> expecting for a new feature that lets the quiz attendees to enter some
> input (eg age, sex, qualification etc) either at the beginning or end
> of the quiz. Each site may have different requirement so the input
> form need be dynamic (not everybody will expect to have age with list
> select, sex with radio button).
>
> My thought on achieving this is to have a dummy node type
> (quiz_feedback) as a part of quiz module and an user defined node
> type(custom_quiz_feedback) with fields defined using CCK.
> custom_quiz_feedback node form will be attached to quiz_feedback 's
> body. When the quiz attendees view the quiz_feedback node they will
> have a  form to get the desired input. Is it possible to do this ? or
> is there any other better ways to achieve this ?
>
> [sorry for my bad English. I tried to ask the same in IRC but there
> was no response]
>  

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rosemarie Tagliamonte
Boston College - Application Services
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Phone: 617.552.1937
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         


Re: need help with my gsoc quiz module

by Olivier Jacquet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>> I am a GSoC student and co-maintainer of quiz module. Quiz users are
>> expecting for a new feature that lets the quiz attendees to enter some
>> input (eg age, sex, qualification etc) either at the beginning or end
>> of the quiz. Each site may have different requirement so the input
>> form need be dynamic (not everybody will expect to have age with list
>> select, sex with radio button).
>>
>> My thought on achieving this is to have a dummy node type
>> (quiz_feedback) as a part of quiz module and an user defined node
>> type(custom_quiz_feedback) with fields defined using CCK.
>> custom_quiz_feedback node form will be attached to quiz_feedback 's
>> body. When the quiz attendees view the quiz_feedback node they will
>> have a form to get the desired input. Is it possible to do this ? or
>> is there any other better ways to achieve this ?
>>
>> [sorry for my bad English. I tried to ask the same in IRC but there
>> was no response]

I used the quiz module to perform a survey and had that exact need,
people had to enter their name and email before starting. For this I
just used the webform module to create the form. Then I used the
submission id returned from the webform as the result id for the quiz.

Using the submission id as the result id might not be a solution for
every case but you could do add a mapping between the submission ids and
the result ids.


Re: need help with my gsoc quiz module

by Bugzilla from jpetso@gmx.at :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Monday 22 June 2009, Rosemarie R. Tagliamonte wrote:
> Hi,
> Please remove my email from your listserv.

Please remove your email from this list by yourself, the link is
http://lists.drupal.org/listinfo/development

Good luck,
  Jakob

Re: need help with my gsoc quiz module

by William Smith-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Perhaps it would be cleaner to have the feedback feature have a dependency on the webform module (http://drupal.org/project/webform).  This would have the added benefit of inheriting stats and such.  In your module's settings page, have a textfield like 'Feedback Form Name' (and this textfield is only enabled if module_exist('webform')).  Then, after a quiz is taken, invoke this form through the webform API.

On Sun, Jun 21, 2009 at 1:12 PM, sivaji j.g <sivaji2009@...> wrote:
I am a GSoC student and co-maintainer of quiz module. Quiz users are
expecting for a new feature that lets the quiz attendees to enter some
input (eg age, sex, qualification etc) either at the beginning or end
of the quiz. Each site may have different requirement so the input
form need be dynamic (not everybody will expect to have age with list
select, sex with radio button).

My thought on achieving this is to have a dummy node type
(quiz_feedback) as a part of quiz module and an user defined node
type(custom_quiz_feedback) with fields defined using CCK.
custom_quiz_feedback node form will be attached to quiz_feedback 's
body. When the quiz attendees view the quiz_feedback node they will
have a  form to get the desired input. Is it possible to do this ? or
is there any other better ways to achieve this ?

[sorry for my bad English. I tried to ask the same in IRC but there
was no response]


Re: need help with my gsoc quiz module

by sivaji j.g :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Jun 22, 2009 at 6:10 PM, Olivier Jacquet<ojacquet@...> wrote:
>
> I used the quiz module to perform a survey and had that exact need, people
> had to enter their name and email before starting. For this I just used the
> webform module to create the form. Then I used the submission id returned
> from the webform as the result id for the quiz.

Thank you for your suggestion let me have a look into webform module.