Showing plus and minus icons before the containing categories

doc2@drupalfr.org - July 6, 2007 - 09:46
Project:Taxonomy dhtml
Version:5.x-2.2
Component:Code
Category:bug report
Priority:normal
Assigned:doc2@drupalfr.org
Status:closed
Description

You've probably notice a square before your terms, but nothing before the containing categories.

To solve this, for Taxonomy_dhtml version 5.x-2.2:

1- Verify your module's version. Changes for other versions might not work and I won't support them. Doing so engage your own responsibility.

2- Make a back-up of your module.

3- Edit your (5.x-2.2) module's menuExpandable4.js file with a text editor (I use Smultron on Mac OS X: http://www.framasoft.net/article4310.html ).

4- On line 10, 33 and 35, replace "url(/" by "url(". That is to say remove the first forward slash of each line.

Line 10 should look like: $(".menubar").css("background-image", "url(" + modpath + "/plus.gif)");
Line 33 should look like: $(this).css("background-image", "url(" + modpath + "/minus.gif)");
Line 35 should look like: $(this).css("background-image", "url(" + modpath + "/plus.gif)");

5- Save, eventually empty your browser's cache, reload and you're done!

6? Tell me wether this works or bugs. Please verify your versions before. Be precise. Symptoms, clues, traces...

Please Jakub, tell me wether this is a good solution.

Arsène

#1

earnie - November 1, 2007 - 15:17
Status:needs review» postponed (maintainer needs more info)

OS is Windows XP. I see plus/minus graphics in the Categories menu item. It works fine until I display a node and then hit the back button. All attempts to expand or collapse will take me to the first node of the list for the term. However, this patch is to fix the graphics display for plus/minus.

Now if you can just provide a proper patch. Using CVS you can issue ``cvs diff -up > /tmp/taxonomy_dhtml.patch'' and attach the file. Once attached you can reset the status to PCNR.

#2

doc2@drupalfr.org - November 13, 2007 - 12:35

First I am not sure whether you know that I am not the developper, although I put myself in charge of this topic.

Sorry, I won't be able to make a patch for until I learn/have time to do so... I which I could.

If anyone feels competent, just take over please.

OS is Windows XP

This should not be a problem. Have a look in the Framasoft freeware library for a text editor that works on "Win" (cf. metadata in the articles' head). Then the steps are the same.

Greetings

#3

darthclue - April 12, 2009 - 04:13
Status:postponed (maintainer needs more info)» closed

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 ).

 
 

Drupal is a registered trademark of Dries Buytaert.