Title pretty much explains it. Tried searching for the issue in the que couldn't find it.

Basically I have multiple custom breadcrumbs one of which is for webforms which just basically prints the title. This breadcrumb overrides the nodes breadcrumb of a different type when the webform is displayed on the page as a block. I am sure it is a small bug but just wanted to let you know. I bypassed this issue by using php to detect weather the node type is a webform so it does not display on the other nodes pages however this should be taken place without my hack.

Please try to replicate. If the issue exists Ill see If I can submit a patch or someone else may as well.

-Jesse

Comments

arrays’s picture

Hi Dobe,

I am also facing this issue. For me Custom breadcrumbs was working fine until I exposed webform as a block on certain node types.
Not for those pages, it is taking default title as breadcrumb next to home. I do not have any webform breadcrumb setting explicitly.

Can you please provide me the code/patch that worked for you?

Thanks.

dobe’s picture

Hi! Sorry didn't get back to you sooner. I just did this to work around it. I created a custom breadcrumb for webforms and in visibility settings I used the following php: It's not the best as it does use node_load which can cause performance issues if overused. But it did the trick none the less.

if(arg(0) == 'node' && is_numeric(arg(1))){
   $node = node_load(arg(1));
   if($node->type == 'webform'){
      return TRUE;
   } else {
      return FALSE;
    }
}
lamp5’s picture

Issue summary: View changes
Status: Active » Closed (outdated)