Closed (fixed)
Project:
Taxonomy Menu
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Apr 2010 at 15:22 UTC
Updated:
18 Nov 2012 at 19:40 UTC
When using taxonomy menu to generate a suckerfish menu, the "a title='.....'" part of the generated menu item tag becomes a huge nuisance preventing proper navigation. To suppress this I have commented out lines 539, 540 of taxonomy_menu.module:
$link = array(
'link_title' => t($item['name']),
'menu_name' => $item['menu_name'],
'plid' => $plid,
//'options' => array('attributes' => array('title' => t(trim($item['description'])
// ? $item['description'] : $item['name']))),
'weight' => $weight,
'module' => 'taxonomy_menu',
'expanded' => $expanded,
'link_path' => $path,
);
Since this makes it nearly unusable in this specific circumstance, it would be fantastic to add one option, probably defaulting to "off" to suppress the output of title tags on menus.
Drupal core has set the precedent for suppressing title by default:
http://drupal.org/node/155312
http://drupal.org/node/547206
Comments
Comment #1
mattsteven commentedHere's a patch to suppress it in case anyone else has this problem. An admin menu option would be more helpful, but this will get me by until that's added to main.
Comment #2
dboulet commentedSeems to be a duplicate of #372324: Ability to turn off description.
Comment #3
maximpodorov commentedThis is not a duplicate of turning off descriptions. I suggest to apply this patch (for 7.x-1.x-dev) to support the requested feature:
Comment #4
dstolLet's address this in 7.x-2.x
Comment #5
maximpodorov commentedI'd recommend to add this patch to 7.x-1.x also, since it doesn't change and break anything (default variable value makes the module not to change it's behavior).
Comment #6
hles commentedFixed with Commit b4dde83 in 7.x-2.x. Making this one as fixed as we won't add any new feature in 7x-1.x.