Breadcrumb per content type per role, bootstrap theme I need to display a breadcrumb per content type and per role. What the best way  to do it. I've tried a lot of module and none fit my needs.

I tried overwritting breadcrumb in template.php as follow, and it's not working :

function local_breadcrumb($variables) {
  $output = '';

  global $user;
  /** Breadcrumb for hsrehab_admin **/
  if(in_array('hsrehab_admin', $user-&gt;roles)) {
   if ($vars['node']-&gt;type == 'patient_sheet') {
     // Build Breadcrumbs
     $breadcrumb = array();
     $breadcrumb[] = l('Dashboard', '');
     $breadcrumb[] = l('Manage Patients', '/admin/manage-patients');
     $breadcrumb[] = l(drupal_get_title(), base_path() . request_uri());
     }
   }

  // Determine if we are to display the breadcrumb.
  $bootstrap_breadcrumb = bootstrap_setting('breadcrumb');
  if (($bootstrap_breadcrumb == 1 || ($bootstrap_breadcrumb == 2 &amp;&amp; arg(0) == 'admin')) &amp;&amp; !empty($breadcrumb)) {
    $output = theme('item_list', array(
      'attributes' =&gt; array(
        'class' =&gt; array('breadcrumb container'),
      ),
      'items' =&gt; $breadcrumb,
      'type' =&gt; 'ol',
    ));
  }
  return $output;
}
You can create a theme template for each content type, then add the breadcrumb logic in there and output the modified breadcrumb there. Here's a great DO resource for theming and how to use template files. In a nutshell, you can clone your default page.tpl.php and rename it page--patient_sheet.tpl.php and inside this template you can run and output the breadcrumb logic.