Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Creating a new Question Plugin ... but where?

Creating a new Question Plugin ... but where? 1 Jahr 4 Tage her #99418

  • sim085
  • sim085s Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 6
  • Karma: 0
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?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Creating a new Question Plugin ... but where? 1 Jahr 4 Tage her #99444

  • sim085
  • sim085s Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 6
  • Karma: 0
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.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Creating a new Question Plugin ... but where? 1 Jahr 4 Tage her #99445

  • mdekker
  • mdekkers Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 341
  • Dank erhalten: 68
  • Karma: 38
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
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Creating a new Question Plugin ... but where? 1 Jahr 4 Tage her #99454

  • sim085
  • sim085s Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 6
  • Karma: 0
Hi mdekker, I understand. In the current version (limesurvey200plus-build130802) is there a way how to add new question types?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Creating a new Question Plugin ... but where? 1 Jahr 4 Tage her #99455

  • mdekker
  • mdekkers Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 341
  • Dank erhalten: 68
  • Karma: 38
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
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Creating a new Question Plugin ... but where? 1 Jahr 4 Tage her #99459

  • sim085
  • sim085s Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 6
  • Karma: 0
You already helped me a lot :) Thanks, will check the manual for the workaround section.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.159 Sekunden
Donation Image