have breadcrumb showing even on 'edit' as well as custom node_load
hamaldus - February 5, 2009 - 09:59
| Project: | Taxonomy Breadcrumb |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
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? :)
