Cloning Questionaries

Cloning Questionaries

Petar Atanasov發表於
Number of replies: 6
Hi,

I want to contribute my custom patches and redesign sources according to the Moodle coding conventions. My script clones given questionnaire to all courses in the Moodle installation. You can see it here with some technical description included.

Still I can't find any developer documentation for the questionnaires module.
Is there any short description on how to add tab let's say “Additional operations” in the current module (I'm considering Moodle 1.9) where I want to put course filter, than select which courses to use and after clicking on the button clone – spread the desired questionnaire.

Further more I see the module is based on phpESP where actually is such functionality (duplicating questionnaires) and I wonder if it's preserved in the questionnaire module.

All The Best,
Petar
http://a-wake.net

評比平均分數: -
In reply to Petar Atanasov

Re: Cloning Questionaries

Joseph Rézeau發表於
Core developers的相片 Particularly helpful Moodlers的相片 Plugin developers的相片 Testers的相片 Translators的相片
Hi Petar,
I really do not understand what you want to do. There is already in the Questionnaire module the feature of having public and template questionnaires. What would "clone questionnaires" do that would be different and desirable?
Joseph
In reply to Joseph Rézeau

Re: Cloning Questionaries

Petar Atanasov發表於
Hi Joseph,

Ok let me clarify “clonings” 微笑

If a questionnaire is public or template and we want it to be present in all courses, than someone (teacher or administrator) have to add it manually to each course.
The purpose of the script is to automate the human work.
This is particularly useful when we have lots of courses.
The benefit of the cloned questionnaires in this way is that we have its responds grouped by students and particular course - the last one wouldn't be available if we make public questionnaire and put it for example in the start page.

All The Best,
Petar
http://a-wake.net
In reply to Petar Atanasov

Re: Cloning Questionaries

Joseph Rézeau發表於
Core developers的相片 Particularly helpful Moodlers的相片 Plugin developers的相片 Testers的相片 Translators的相片
Thanks, Petar. Now I do understand your "cloning" project. You want a "public" questionnaire to be "pushed" to any courses selected by the creator of that public questionnaire. Who would have the rights to do this? teacher wanting to clone a questionnaire to all or some of his/her own courses? or admin ?
Where exactly in the various courses topics, activities, ... would the cloned questionnaire appear?
Joseph
In reply to Joseph Rézeau

Re: Cloning Questionaries

Petar Atanasov發表於
Well generally administrator should do this, I haven thought about teachers – but this seems very reasonable 微笑 I like the idea very much !

So in both cases there should be selection of courses.

The questionnaire in my script appears in the themes list in the first empty theme – if there isn't any I create one programatically.
Probably the best place is to appear right after the news forum, but unfortunately I couldn't succeed with this...

All The Best,
Petar
http://a-wake.net
In reply to Petar Atanasov

Re: Cloning Questionaries

Klavs Sedlenieks發表於
I would support a request for such a cloning. I just had to go through all the courses and insert the evaluation questionnaires in every single of our 10+ courses. Still it took me quite some time although I used the template. This is our univeristy's requirement that students should fill in a questionnaire after each course so it makes sense to get the questionnaire there by default.
In reply to Klavs Sedlenieks

Re: Cloning Questionaries

Claire Hemingway發表於
Any updates since April regarding the capacity to clone questionnaires? We would find this feature a great help too.