- Posts: 32
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Implementing a responsive Chat in a survey
- develnick
- Topic Author
- Offline
- Junior Member
Less
More
5 years 6 months ago - 5 years 6 months ago #174878
by develnick
- Nick
Implementing a responsive Chat in a survey was created by develnick
Hello!
I'd like to implement a third-party-Chat in a Survey. Which file do I need to edit in order to write some Javascript code that is every time executed?
I tried to insert javascript code inside the question and it worked. However, I'd like to have it always ON.
I also read this topic about "Zopim Chat" but I couldn't find startpage.pstpl file.
Thanks again for your help.
I'd like to implement a third-party-Chat in a Survey. Which file do I need to edit in order to write some Javascript code that is every time executed?
I tried to insert javascript code inside the question and it worked. However, I'd like to have it always ON.
I also read this topic about "Zopim Chat" but I couldn't find startpage.pstpl file.
Thanks again for your help.
- Nick
Last edit: 5 years 6 months ago by develnick.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2738
5 years 6 months ago #174882
by holch
Because this thread you are referring to is from 2 years ago. This was for sure a totally different version. The template system has changed probably twice since then.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Implementing a responsive Chat in a survey
I also read this topic about "Zopim Chat" but I couldn't find startpage.pstpl file.
Because this thread you are referring to is from 2 years ago. This was for sure a totally different version. The template system has changed probably twice since then.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The following user(s) said Thank You: develnick
The topic has been locked.
- develnick
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 32
- Thank you received: 0
5 years 6 months ago #174884
by develnick
- Nick
Replied by develnick on topic Implementing a responsive Chat in a survey
Thanks! So do you know how to insert a JavaScript file that is executed everytime? For example is there a way to put is in the header so it's always executed?
- Nick
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2738
5 years 6 months ago #174885
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Implementing a responsive Chat in a survey
For Javascript related questions you have to wait for someone like Tpartner or Denis to help with details.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- LouisGac
- Visitor
5 years 6 months ago #174918
by LouisGac
extend a theme, edit its config.xml, add your JS file after the other files, reset the theme :
github.com/LimeSurvey/LimeSurvey/blob/ma...a/config.xml#L55-L59
Replied by LouisGac on topic Implementing a responsive Chat in a survey
develnick wrote: Thanks! So do you know how to insert a JavaScript file that is executed everytime? For example is there a way to put is in the header so it's always executed?
extend a theme, edit its config.xml, add your JS file after the other files, reset the theme :
github.com/LimeSurvey/LimeSurvey/blob/ma...a/config.xml#L55-L59
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13624
- Thank you received: 2490
5 years 6 months ago #174938
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Implementing a responsive Chat in a survey
Or add script in footer.twig for example :
github.com/LimeSurvey/LimeSurvey/blob/ma...s/footer/footer.twig
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- tpartner
- Online
- LimeSurvey Community Team
Less
More
- Posts: 10103
- Thank you received: 3591
5 years 6 months ago #174966
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Implementing a responsive Chat in a survey
...or extend a core theme and edit custom.js.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.