Ranking question type does not show drag and drop

More
4 months 2 weeks ago #162376 by jelo
jelo replied the topic: Ranking question type does not show drag and drop
Which hostingpackage is used with HostEurope?
Schick' mir mal eine private Message mit Link zur Befragung.

Please Log in or Create an account to join the conversation.

More
4 months 2 weeks ago #162377 by Heinrich
Heinrich replied the topic: Ranking question type does not show drag and drop
Thanks. I´ve sent you a private message.

Please Log in or Create an account to join the conversation.

More
4 months 2 weeks ago #162440 by jelo
jelo replied the topic: Ranking question type does not show drag and drop
I haven't found the cause so far. Comparing the html/css/js files seem all unmodified.
I wonder if 2.73.0 got an issue.

Please Log in or Create an account to join the conversation.

More
4 months 2 weeks ago #162443 by Heinrich
Heinrich replied the topic: Ranking question type does not show drag and drop
Thank you jelo.
Might anyone with 2.73.0 confirm the issue?

Please Log in or Create an account to join the conversation.

More
4 months 2 weeks ago #162450 by LouisGac
LouisGac replied the topic: Ranking question type does not show drag and drop
Heinrich, you can test it by yourself by creating a free installation for your account on limesurvey.org:

www.limesurvey.org/index.php?option=com_...ce.routeAlternatives

Please Log in or Create an account to join the conversation.

More
4 months 1 week ago - 4 months 1 week ago #162454 by tpartner
tpartner replied the topic: Ranking question type does not show drag and drop
I have already stated that the survey works as expected for me in 2.73.0 (and provided a screenshot).

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 4 months 1 week ago by tpartner.
The following user(s) said Thank You: LouisGac, Heinrich

Please Log in or Create an account to join the conversation.

More
4 months 1 week ago - 4 months 1 week ago #162459 by Heinrich
Heinrich replied the topic: Ranking question type does not show drag and drop
Sorry, didn't know that you were also using 2.73.0

So it's not a version issue. May it be a language issue? I'm using Limesurvey in German, however, have also already created surveys in English. Still the same.

Or could it be an PHP issue? I'm using PHP 7.0
Last Edit: 4 months 1 week ago by Heinrich.

Please Log in or Create an account to join the conversation.

More
4 months 1 week ago #162460 by LouisGac
LouisGac replied the topic: Ranking question type does not show drag and drop
it's a server issue.

Please Log in or Create an account to join the conversation.

More
4 months 1 week ago #162461 by Heinrich
Heinrich replied the topic: Ranking question type does not show drag and drop
Ok, thanks, LouisGac. Do you have any idea what I need to change on my server to get this drag&drop feature to work?

Please Log in or Create an account to join the conversation.

More
4 months 1 week ago #162462 by LouisGac
LouisGac replied the topic: Ranking question type does not show drag and drop
please provide a link to your survey so we can have a look

Please Log in or Create an account to join the conversation.

More
4 months 1 week ago #162465 by Heinrich
Heinrich replied the topic: Ranking question type does not show drag and drop
Thanks! I've sent you a link.

Please Log in or Create an account to join the conversation.

More
4 months 1 week ago #162467 by LouisGac
LouisGac replied the topic: Ranking question type does not show drag and drop
can you activate debug mode so we see if we can get more infos?

Please Log in or Create an account to join the conversation.

More
4 months 1 week ago #162468 by Heinrich
Heinrich replied the topic: Ranking question type does not show drag and drop
Yes sure. I've changed debug=0 to debug=2 in the config.php. Thank you!

Please Log in or Create an account to join the conversation.

More
4 months 1 week ago #162469 by LouisGac
LouisGac replied the topic: Ranking question type does not show drag and drop
it doesn't change anything, it's hard to say what's going on.
If you want to do more testing, normally the list of drop downs is transformed into the drag and drop via the function doDragDropRank() in ranking.js.

Here, it seems it's not applied at all. Could be a server cache issue.

Please Log in or Create an account to join the conversation.

More
4 months 1 week ago - 4 months 1 week ago #162470 by tpartner
tpartner replied the topic: Ranking question type does not show drag and drop
Try inserting this into the question text:

<script type="text/javascript" charset="utf-8">
	$(document).on('ready pjax:complete',function() {
 
		aRankingTranslations = {          
			choicetitle: 'Ihre Auswahl',          
			ranktitle: 'Ihre Rangfolge',          
			rankhelp: 'Ordnen Sie die Elemente in die rechte Liste ein (höchste Bewertung oben). Die Elemente können mit der Maus verschoben werden. Doppelklick verschiebt ein Element in die andere Liste.'         
		};      
		doDragDropRank({QID}, 1,1,1);
		console.log('Ranking applied');		
	});
</script>

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 4 months 1 week ago by tpartner.
The following user(s) said Thank You: LouisGac

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!