- Posts: 28
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Ranking Question Display change
- AlessandraAndreotti
- Offline
- Junior Member
Less
More
5 years 11 months ago - 5 years 11 months ago #168717
by AlessandraAndreotti
Replied by AlessandraAndreotti on topic Ranking Question Display change
Hi Tony!
Thanks for your suggestions.
I've followed your instructions but it still doesn't work.
At the end of the "scripts/template.js" of my template, I've inserted the script you suggested.
Then, at the end of the "css/template.css" of my template I've inserted this script (as you suggested):
.rank-number {
display: inline-block;
margin-right: 5px;
color: #FF0000;
}
This is what I have:
In attachment an example for test.
What am I doing wrong?
Thanks in advance for your help.
Alessandra
Thanks for your suggestions.
I've followed your instructions but it still doesn't work.
At the end of the "scripts/template.js" of my template, I've inserted the script you suggested.
Then, at the end of the "css/template.css" of my template I've inserted this script (as you suggested):
.rank-number {
display: inline-block;
margin-right: 5px;
color: #FF0000;
}
This is what I have:
In attachment an example for test.
What am I doing wrong?
Thanks in advance for your help.
Alessandra
Attachments:
Last edit: 5 years 11 months ago by AlessandraAndreotti.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10103
- Thank you received: 3593
5 years 11 months ago #168729
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 Ranking Question Display change
Can you please activate a test survey and give us a link here so we can see the source HTML?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- AlessandraAndreotti
- Offline
- Junior Member
Less
More
- Posts: 28
- Thank you received: 0
5 years 11 months ago #168731
by AlessandraAndreotti
Replied by AlessandraAndreotti on topic Ranking Question Display change
Sure!
That is the link: sondaggi.centroexplora.it/index.php/649854?lang=en
Thank you very much!
Alessandra
That is the link: sondaggi.centroexplora.it/index.php/649854?lang=en
Thank you very much!
Alessandra
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10103
- Thank you received: 3593
5 years 11 months ago #168733
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 Ranking Question Display change
The problem is that your template.js file is being loaded before ranking.js (first screenshot below). It should be loaded last, as on my server (second screenshot below).
The assets manager may be causing that. Try setting debug to 1 in application/config/config.php. This should load the template files directly instead of from /tmp/assets.
The assets manager may be causing that. Try setting debug to 1 in application/config/config.php. This should load the template files directly instead of from /tmp/assets.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
The following user(s) said Thank You: AlessandraAndreotti
The topic has been locked.
- AlessandraAndreotti
- Offline
- Junior Member
Less
More
- Posts: 28
- Thank you received: 0
5 years 11 months ago #168797
by AlessandraAndreotti
Replied by AlessandraAndreotti on topic Ranking Question Display change
Hi Tony,
I've tried your suggestion (set debug to 1 in application/config/config.php) and now it works!!! :woohoo:
Thank you very much.
Best,
Alessandra
I've tried your suggestion (set debug to 1 in application/config/config.php) and now it works!!! :woohoo:
Thank you very much.
Best,
Alessandra
The topic has been locked.
- dnvservices
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
3 years 11 months ago #198173
by dnvservices
Replied by dnvservices on topic Ranking Question Display change
If possible, could you please share a template lsq that you have figured out? Thank you.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10103
- Thank you received: 3593
3 years 11 months ago #198178
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 Ranking Question Display change
Huh?If possible, could you please share a template lsq that you have figured out? Thank you.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- dnvservices
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
3 years 11 months ago #198321
by dnvservices
Replied by dnvservices on topic Ranking Question Display change
I don't know how to do the programming. If there is an lss example of this, it would be much appreciated. Thank you.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10103
- Thank you received: 3593
3 years 11 months ago #198330
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 Ranking Question Display change
A .lss file would not help as the modifications are in the JavaScript files.
This post may help for version 3.x - www.limesurvey.org/forum/can-i-do-this-w...r-to-rankings#195522
This post may help for version 3.x - www.limesurvey.org/forum/can-i-do-this-w...r-to-rankings#195522
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.