Ranking question type does not show drag and drop

More
1 year 1 month ago #162376 by jelo
Which hostingpackage is used with HostEurope?
Schick' mir mal eine private Message mit Link zur Befragung.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

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

More
1 year 1 month ago #162377 by Heinrich
Thanks. I´ve sent you a private message.

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

More
1 year 1 month ago #162440 by jelo
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.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

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

More
1 year 1 month ago #162443 by Heinrich
Thank you jelo.
Might anyone with 2.73.0 confirm the issue?

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

More
1 year 1 month ago #162450 by LouisGac
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
1 year 1 month ago - 1 year 1 month ago #162454 by tpartner
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: 1 year 1 month ago by tpartner.
The following user(s) said Thank You: LouisGac, Heinrich

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

More
1 year 1 month ago - 1 year 1 month ago #162459 by Heinrich
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: 1 year 1 month ago by Heinrich.

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

More
1 year 1 month ago #162460 by LouisGac
it's a server issue.

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

More
1 year 1 month ago #162461 by Heinrich
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
1 year 1 month ago #162462 by LouisGac
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
1 year 1 month ago #162465 by Heinrich
Thanks! I've sent you a link.

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

More
1 year 1 month ago #162467 by LouisGac
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
1 year 1 month ago #162468 by Heinrich
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
1 year 1 month ago #162469 by LouisGac
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
1 year 1 month ago - 1 year 1 month ago #162470 by tpartner
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: 1 year 1 month 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!