Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Greetings!
I am using this code to break up a large node into tabs:
<?php
//input menu on node type PAGE
$items['node/%page/warnings'] = array(
'title' => 'Warnings',
'page callback' => 'function_to_be_executed',
'page arguments' => array(1),
'access callback' => TRUE,
'type' => MENU_LOCAL_TASK
);
?>
Using custom load
<?php
function page_load($arg) {
$node = node_load($arg);
if($node->type == 'page')
return $node;
return FALSE;
}
;?>
Problem is, the taxonomy breadcrumb is not showing when viewing this tab, instead its replaced by the node's title. Any idea on how to keep the taxonomy breadcrumb showing even when viewing these custom tabs?
I'll be equally happy for a hack tips as well as a feature implementation, but wouldn't it be great if the breadcrumb stayed the same also when editing the page? :)
Comments
Comment #1
gisleThe Drupal 6 version is no longer supported. Closing this as outdated. If you think this is still relevant for Drupal 7 or Drupal 9, please open a new issue.