Project:Taxonomy dhtml
Version:5.x-1.1
Component:User interface
Category:support request
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hello

Have recently upgraded from Drupal 4.7 to 5.7. I have noticed that since that time, Taxonomy DHTML no longer works properly with hierarchies: parents with children display as single items, no longer with expandable "+".

I have just uploaded and activated T. Manager, and in the visual tree, I have the same problem: only the first level parents are shown, so that I can't access the children (which I want to reorganise and merge).

This suggests there is some problem common to the two... any ideas?

Thanks

Comments

#1

Project:Taxonomy Manager» Taxonomy dhtml
Version:5.x-1.x-dev» 5.x-1.1
Priority:normal» critical
Assigned to:Anonymous» ali27

i had the same problem but i fixed it
there are a probleme in the file script "menuExpandable4.js" in line 32
replace it per this code

/*
* menuExpandable4.js - implements an expandable menu based on a HTML list
* rewritten for Drupal 5 using jQuery
* Author: subspaceeddy / subspaceeddy@yahoo.co.uk
*/

function initializeMenu(modpath) {
var iefix;

$(".menubar").css("background-image", "url(" + modpath + "/plus.gif)");
$(".submenu").click(
function() {
// stop i.e. from causing problems with the function below...
iefix = true;
// pass on the click
return true;
}
);
$('.menubar').click(
function() {
if (iefix) {
// pass on the click. the user is using IE and this function should not be called right now.
return true;
}
// get the id of the clicked object.
// append this to 'menu'
// find that target
// and toggle it...
// testing the new status
// and setting the + to - and vice versa
    //ul class="submenu" id="menuactuator52">
var id=this.id;
if ($(document).find('#menu' + id).toggle().css("display") == "block") {
$(this).css("background-image", "url(" + modpath + "/minus.gif)");
} else {

$(this).css("background-image", "url(" + modpath + "/plus.gif)");
}
return false; // don't pass on the click...
});
return this;
}

and good luck

#2

Thanks! I will try that!

Do you use Taxonomy Manger also? I have exactly the same problem with that module... :(

#3

I replaced the code; it didn't solve the problem.

(did an update.php, even though I couldn't see why I should; it didn't help.)

:(

#4

i think u have to do the update.php

#5

did that (see #3). didn't help.

#6

Assigned to:ali27» Anonymous
Status:active» closed (fixed)

This module is no longer being actively developed as it duplicates functionality that can be obtained through the usage of taxonomy_menu ( http://drupal.org/project/taxonomy_menu ) and dhtml_menu ( http://drupal.org/project/dhtml_menu ).