[drupal-devel] [bug] Menu system requires a local task to have more than 1 child in order to create secondary local tasks

Dries drupal-devel at drupal.org
Tue Feb 8 22:52:10 UTC 2005


 Project:      Drupal
 Version:      cvs
 Component:    menu system
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  andremolnar
 Updated by:   Dries
 Status:       patch

I'm pretty sure this patch would break some pages.  Some modules have a
tab and a subtab that show the same page.  The tracker page, for
example, relies on the fact that the subtab does not get shown when
there is only one subtab.  However, when there are two or more subtabs,
they are being visualized.  I guess this needs some more thought.


Dries



Previous comments:
------------------------------------------------------------------------

February 8, 2005 - 23:49 : andremolnar

Attachment: http://drupal.org/files/issues/menu_inc_1a.patch (826 bytes)

This is a minor bug.  The menu system requires a local task to have more
than 1 child in order to create secondary local tasks.  In other words
if a local task only had 1 child, menu system would not create a
secondary local task menu item.
This patch fixes that with the addition of 1 character in the code.
andre


-- 
View: http://drupal.org/node/17022
Edit: http://drupal.org/project/comments/add/17022





More information about the drupal-devel mailing list