Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Ranking question type does not show drag and drop

More
7 years 7 months 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
The topic has been locked.
More
7 years 7 months ago #162377 by Heinrich
Thanks. I´ve sent you a private message.
The topic has been locked.
More
7 years 7 months 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
The topic has been locked.
More
7 years 7 months ago #162443 by Heinrich
Thank you jelo.
Might anyone with 2.73.0 confirm the issue?
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • New Member
  • New Member
More
7 years 7 months 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
The topic has been locked.
More
7 years 7 months ago - 7 years 7 months 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: 7 years 7 months ago by tpartner.
The following user(s) said Thank You: LouisGac, Heinrich
The topic has been locked.
More
7 years 7 months ago - 7 years 7 months 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: 7 years 7 months ago by Heinrich.
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • New Member
  • New Member
More
7 years 7 months ago #162460 by LouisGac
it's a server issue.
The topic has been locked.
More
7 years 7 months 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?
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • New Member
  • New Member
More
7 years 7 months ago #162462 by LouisGac
please provide a link to your survey so we can have a look
The topic has been locked.
More
7 years 7 months ago #162465 by Heinrich
Thanks! I've sent you a link.
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • New Member
  • New Member
More
7 years 7 months ago #162467 by LouisGac
can you activate debug mode so we see if we can get more infos?
The topic has been locked.
More
7 years 7 months ago #162468 by Heinrich
Yes sure. I've changed debug=0 to debug=2 in the config.php. Thank you!
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • New Member
  • New Member
More
7 years 7 months 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.
The topic has been locked.
More
7 years 7 months ago - 7 years 7 months ago #162470 by tpartner
Try inserting this into the question text:

Code:
<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: 7 years 7 months ago by tpartner.
The following user(s) said Thank You: LouisGac
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose