For breadcrumbs, any way to get it to show the current page? If not, can we add that at some point?

Category: 

  • Question

8/22/13

Javascript? Something like:

(function($) {
Drupal.behaviors.addBreadcrumb = {
attach: function() {
$('#crumbs').append(' »

  • ' + $('h1.article-title').text() + '
  • ');
    }
    };
    })(jQuery);

    Otherwise, I believe it would require either access to alter the theme php or the Menu Breadcrumb module.

    8/22/13

    Crap. Trying again:


    (function($) {
    Drupal.behaviors.addBreadcrumb = {
    attach: function() {
    $('#crumbs').append(' &#187; <li class="crumb">' + $('h1.article-title').text() + '</li>');
    }
    };
    })(jQuery);

    8/22/13