The question is: where I should add this library? Should I make a plugin for it? I am looking inside limesurvey and there is a folder named "Third-Party". So I was wondering if that is the place in which I should add this library…
If you have any ideas or suggestions, I will really appreciate it…
The real goal is to add a voice-recorder button to the survey. I was expecting to just add a script on the code section of questions, in order to call the function to insert a voice recorder button on the question (
in-tissu.artandfield.org/collecte-de-recits/
).
This will be the very first time that I will transform limesurvey. So I am not sure of anything. I have been looking the way some plugins works. Unfortunately, anyone is adding a javascript functionality to a question on a survey. I have some knowledge on html, css and php, but Javascript is entirely new for me. I can read instructions and examples, and be able to learn quickly...
I am not sure that making a theme is what I need to do right here, but you know better than me how limesurvey works, so I will follow your suggestions. Do you think that I should create a theme in order to reach my goal?
Probably my first question is not clear enough: How can I use the WebAudioRecorder.js function on a limesurvey survey?
The topic has been locked.
LouisGac
Visitor
6 years 2 months ago - 6 years 2 months ago#174230by LouisGac
1. Try to make a custom PHP script using your JS lib to save some sound in a server. Not using limesurvey at all, just pure PHP. So you'll be sure you understood how to do it from scratch, and that you're using correctly the js lib, not being confused by LS specific problems.
2. Try to create a very simple question theme for LimeSurvey. Just to be sure you understand how it works. Loading a JS script file showing a "hello world" at load would be fine. So you'll be sure you understood question theming, not being confused by your JS lib specific problems
but need a lot php script here. Less for javascript recording
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
The following user(s) said Thank You: GuilleVargas