- Posts: 13597
- Thank you received: 2487
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Memory Task type question
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
3 years 10 months ago #200434
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 Memory Task type question
OK
Seems need a dependance for timer
Seems need a dependance for timer
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:
The topic has been locked.
- blocka
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 409
- Thank you received: 34
3 years 10 months ago #200840
by blocka
Replied by blocka on topic Memory Task type question
Any thoughts on what we do to get this working in 3.x as I can't move up to 4.x yet?
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
3 years 10 months ago #200843
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 Memory Task type question
What LimeSurvey version and theme are you using? I tested in version 3.22.19 and the timer works with all core themes.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- blocka
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 409
- Thank you received: 34
3 years 10 months ago #200846
by blocka
Replied by blocka on topic Memory Task type question
I'm running 22.19+200605 on my local install, and the timer only works in the Fruity theme.
When I test on my LimeSurvey Professional (from which I can only infer it is running Version 3.22.17), timer doesn't work on in Vanilla theme (but does work in Fruity and Bootwatch):
Vanilla:
law5432.limequery.com/696453?lang=en
Fruity: law5432.limequery.com/959968?lang=en
Bootswatch: law5432.limequery.com/232821?lang=en
These are the core themes, I've not extended them.
When I test on my LimeSurvey Professional (from which I can only infer it is running Version 3.22.17), timer doesn't work on in Vanilla theme (but does work in Fruity and Bootwatch):
Vanilla:
law5432.limequery.com/696453?lang=en
Fruity: law5432.limequery.com/959968?lang=en
Bootswatch: law5432.limequery.com/232821?lang=en
These are the core themes, I've not extended them.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
3 years 10 months ago #200850
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 Memory Task type question
Well, the problem with the vanilla version (law5432.limequery.com/696453?lang=en) is that moment.js is not loaded.
Try extending that theme and adding this to custom_header.twig:
Or:
Or:
Try extending that theme and adding this to custom_header.twig:
Code:
<script type="text/javascript" src="/third_party/moment/moment-with-locales.min.js"></script>
Or:
Code:
<script type="text/javascript" src="https://law5432.limequery.com/third_party/moment/moment-with-locales.min.js"></script>
Or:
Code:
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.26.0/moment-with-locales.min.js"></script>
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- blocka
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 409
- Thank you received: 34
3 years 10 months ago #200894
by blocka
Replied by blocka on topic Memory Task type question
Thanks, this worked with both vanilla and bootswatch:
Code:
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.26.0/moment-with-locales.min.js"></script>
The topic has been locked.