Check out the LimeSurvey source code on GitHub!

Creating a new Question Plugin ... but where?

More
3 years 5 months ago #99418 by sim085
Hello,

I would like to create a new Question Plugin that would allow a user to draw a polygon over a google map. I have found the following link in the wikis:
manual.limesurvey.org/Creating_a_question_plugin

However I do not know where to place the plugin once ready, or where the plugins are so that I can have a look at the code.

Can anyone tell me where the Question Plugins are?

Please Log in to join the conversation.

More
3 years 5 months ago #99444 by sim085
I have found the following article:
manual.limesurvey.org/LimeSurvey_2.0_how..._a_new_question_type

However this seems to be out of date and cannot really follow it (paths do not look to be correct)...

Can anyone point me to any documentation or the location of an existing Question Type so that I can build my own based on that.

Please Log in to join the conversation.

More
3 years 5 months ago #99445 by mdekker
At this moment we do not have question plugins yet. In the upcoming 2.05 we are exploring plugins for other areas of limesurvey like authentication and export.

At the same time question plugins are still under development in a different branch with internal name 2.1 but this coul dbe changed at any time. Unfortunately there is no ETA on when this functionality will be ready and you can develop your own question plugin. This is due to the big impact it will have on the application as a whole and backward compatibility.

---
Menno Dekker

Please Log in to join the conversation.

More
3 years 5 months ago #99454 by sim085
Hi mdekker, I understand. In the current version (limesurvey200plus-build130802) is there a way how to add new question types?

Please Log in to join the conversation.

More
3 years 5 months ago #99455 by mdekker
That is nearly impossible as it would almost certainly break the application in areas like import/export etc.

I think you would be best of using a javascript workaround: Use a text or map question and modify what data is stored / displayed by using javascript. I can not help you with that, but I think in the workarounds section of the manual there are some examples.

---
Menno Dekker

Please Log in to join the conversation.

More
3 years 5 months ago #99459 by sim085
You already helped me a lot :) Thanks, will check the manual for the workaround section.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form