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.

Comments

joachim’s picture

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.

Johnny vd Laar’s picture

Status: Active » Fixed

Well I've fixed it here :D

http://drupalcode.org/project/nodeblock.git/commit/6948120

My first drupal 5 commit ;)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.