Active
Project:
Taxotoggle
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
9 Nov 2009 at 19:30 UTC
Updated:
2 Jul 2010 at 14:42 UTC
Hello,
I've tried installing it, but it doesn't work. I've checked to make sure the necessary jquery.ui libraries were installed and everything. I think this would be a terrific module if it would work, but I'm at a loss to get it working. Let me know if you have any tips. Thanks!
I'm using jquery 1.2.6 -- does it require 1.3?
Comments
Comment #1
Mac Clemmens commentedI'm getting the error:
$.ui.ddmanager.current is null
I'm assuming that's line 6 of taxotoggle.js
$(document).ready(function(){ $("li:has(a[href*='taxonomy/term/'])").add("li[class*='taxonomy_term_']").draggable({ helper: function(e1, e2) { val = $.ui.ddmanager.current.element.clone(); val.css('position', 'fixed'); return val; } });Comment #2
Mac Clemmens commentedOK -- fixed it! I'm thrilled -- the interface is very cool. Nice work!
Here's what I had to do:
On taxotoggle.js,
CHANGED THIS:
$(document).ready(function(){
$("li:has(a[href*='taxonomy/term/'])").add("li[class*='taxonomy_term_']").draggable({
helper: function(e1, e2) {
val = $.ui.ddmanager.current.element.clone();
val.css('position', 'fixed');
return val;
}
});
TO THIS:
$(document).ready(function(){
$("li:has(a[href*='taxonomy/term/'])").add("li[class*='taxonomy_term_']").draggable({
helper: "clone"
});
Comment #3
tomamic commentedThanks for helping. Actually, I tried it some time ago on a fresh installation. It worked without problems. Anyway, now I changed the CVS version according to your suggestion. Can you try on your system, please? Thanks again.
Comment #4
tomamic commentedComment #6
browlands commentedCan someone tell me which versions of jquery_ui, jquery and taxotoggle to use to make this work? This module could be very useful, I've tried lots of combination without success.