Plugin for custom question types

More
3 years 1 month ago - 3 years 1 month ago #109812 by eugene_sue
eugene_sue created the topic: Plugin for custom question types
Hello,

just switched from older LS version to 2.05.
As a matter of fact, I was using several custom question types, which I've added directly into LS source code. The new version of LS has nice thing called plugins, but the documentation which is provided can't answer my questions and help me to add new question types.So my question is following: is it possible to add custom question types via plugins, and where can I find the information concerning the hooks/events I should extend.

Regards!
Last Edit: 3 years 1 month ago by eugene_sue.

Please Log in to join the conversation.

More
3 years 1 month ago #109815 by DenisChenu
DenisChenu replied the topic: Plugin for custom question types
HI,

The Question type and attribute move in plugin in 2.1, not before.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
3 years 1 month ago #109817 by eugene_sue
eugene_sue replied the topic: Plugin for custom question types
Wow, and how soon will 2.1 be available?

Please Log in to join the conversation.

More
2 years 1 month ago #121429 by jrgonzalezrios
jrgonzalezrios replied the topic: Plugin for custom question types
Hi! I am currently having the same issue. The documentation does not help much... did you guys find any source of information of how to create a new type of questions by a plugin?

Please Log in to join the conversation.

More
2 years 1 month ago #121437 by Mazi
Mazi replied the topic: Plugin for custom question types
Currently Limesurvey is missing the required events to create new question types as plugins.

We are working on re-working the underlying code to make question types objects and use inheritance and the like within the code to make it easier maintainable, but there is still a lot of work that needs to be done.

What kind of custom question types are you looking for?
Can you upload screenshots?

Mostly, some JS to adjust the layout and use existing question types does the trick.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
2 years 1 month ago #121514 by jrgonzalezrios
jrgonzalezrios replied the topic: Plugin for custom question types
Hi! thanks for your response. I am working with the LS remote controll, and basiclly I need that when you add a 'simple line text' with the google maps option, the type displayed in the JSON would be different from 'S'. But with all the logic of a simple line text.

Any ideas?

Thanks!

Please Log in to join the conversation.

More
2 years 1 month ago #121517 by Mazi
Mazi replied the topic: Plugin for custom question types
That's something pretty special that can't be done vie the API but requires hacking the source code.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
2 years 1 month ago #121536 by jrgonzalezrios
jrgonzalezrios replied the topic: Plugin for custom question types
Well actually, you can forget about the google maps option. It will be fine, if I have a 'Short free line text', but with different Type name. Having two 'Short free line text' but one with different type and description. what do you think?

Please Log in to join the conversation.

Did you already participate in our customer survey?

Don't miss your chance for great prices.

Please click here to participate:

Start now

Start now!

Just create your account and start using Limesurvey today.

Register now