- Posts: 13597
- Thank you received: 2487
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
[plugin] addScriptToQuestion : more easy to javascript to question
- DenisChenu
- Topic Author
- Offline
- LimeSurvey Community Team
Less
More
6 years 1 month ago - 6 years 1 month ago #165170
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.
[plugin] addScriptToQuestion : more easy to javascript to question was created by DenisChenu
Adding javascript to question can be difficult, and if you have XSS activated : another user can delete your plugin if he need to edit question text, there is a solution .
The script in action (3.4.4 with position)
Compatibility :
The script in action (3.4.4 with position)
Compatibility :
- LimeSurvey 2.6 - SondagesPro 1.1.0
- LimeSurvey 2.5X branch (warning : last version broke with LimeSurvey 2.63
- LimeSurvey 3.X branch since 3.4.4
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.
Attachments:
Last edit: 6 years 1 month ago by DenisChenu.
The topic has been locked.
- orvil
- Offline
- Premium Member
Less
More
- Posts: 111
- Thank you received: 20
6 years 1 month ago #165204
by orvil
Best regards/Beste Grüße,
O. Villani
Replied by orvil on topic [plugin] addScriptToQuestion : more easy to javascript to question
Great, thanks for this update!
Best regards/Beste Grüße,
O. Villani
The topic has been locked.
- orvil
- Offline
- Premium Member
Less
More
- Posts: 111
- Thank you received: 20
6 years 1 month ago #165543
by orvil
Best regards/Beste Grüße,
O. Villani
Replied by orvil on topic [plugin] addScriptToQuestion : more easy to javascript to question
Hello,
found an issue in function addScript() where the limesurvey versionnumber is requested.
works with now
Yii::app()->getConfig('versionnumber')
instead of
Yii::app()->getConfig('version')
Placed a commit on gitlab.
found an issue in function addScript() where the limesurvey versionnumber is requested.
works with now
Yii::app()->getConfig('versionnumber')
instead of
Yii::app()->getConfig('version')
Placed a commit on gitlab.
Best regards/Beste Grüße,
O. Villani
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- DenisChenu
- Topic Author
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
6 years 4 weeks ago #165704
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 [plugin] addScriptToQuestion : more easy to javascript to question
Arg, thnaks
But why you don't make a pull request ?
But why you don't make a pull request ?
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.
- orvil
- Offline
- Premium Member
Less
More
- Posts: 111
- Thank you received: 20
6 years 3 weeks ago #166030
by orvil
Best regards/Beste Grüße,
O. Villani
Replied by orvil on topic [plugin] addScriptToQuestion : more easy to javascript to question
Simple reason: I'm not so familiar with github and gitlab
But I'll give it a try
But I'll give it a try
Best regards/Beste Grüße,
O. Villani
The topic has been locked.