So does that mean that we need to improve the internal docs? Currently MENU_VISIBLE_IN_BREADCRUMB says "Internal menu flag -- menu item is visible in the breadcrumb"
-Randy On Sun, Oct 3, 2010 at 11:12 AM, Daniel F. Kudwien <[email protected]>wrote: > > I don't understand this. breadcrumbs have always been messed > > up for MENU_CALLBACK items, but so here's the question: How > > do you get items to appear in the breadcrumb trail without > > making them MENU_NORMAL_ITEM and having them appear in navigation? > > The difference is that MENU_CALLBACK items are really just invisible > callbacks now; i.e., plain router items, not having any kind of menu link. > > For edge-cases like the given example, in which you have a router path that > does not contain any dynamic path argument placeholder (%), you want to use > 'type' => MENU_VISIBLE_IN_BREADCRUMB. > > We actually discussed whether we need a new constant, but since a new > constant would be identical to MENU_VISIBLE_IN_BREADCRUMB, it would just > have another name. > > sun > > -- Randy Fay Drupal Module and Site Development [email protected] +1 970.462.7450
