Search page renamed as Navigation
| Project: | Node Blocks |
| Version: | 5.x-1.1 |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Drupal: 5.16
Modules
Menu Trails: 5.x-1.x-dev
Nodeblock: 5.x-1.1
Symptom:
The title of search/node should be 'Search' but changes to 'Navigation' when a nodeblock is present on the page and the Menu Trails module has been installed.
Recreate by:
Fresh install of Drupal 5.16
Install module Nodeblock
Alter the 'Page' type to 'Available as block: Enabled'
Create a 'Page' node and set 'Block options: right sidebar'
Turn on search core module
Navigate to search/node - the title is 'Search' as expected
Install Menu Trails
Navigate to search/node - the title is now 'Navigation'
Uninstalling Menu Trails or stopping the nodeblock from displaying on the search page removes the problem.
This is most likely an issue with the Menu Trails module but is included here for completeness.

#1
It's due to nodeblock setting $page to TRUE:
// using page arg = TRUE since we want the full content (generally speaking)$block['content'] = node_view($node, FALSE, TRUE, TRUE);
It's going to be a problem with any breadcrumb module, since they will check on $page in hook_nodeapi.