1

How can I know the breadcrumb that will be generated in a page without visiting that page? Is this possible?

1

2 Answers 2

0

It really depends on what module/configuration you are using to generate the breadcrumb, sometimes some basic configuration is set in the base theme you are using as well, you might wanna check that out in your page.tpl.php file. basically your question is so vague it's hard to answer.

but mostly in most of themes the breadcrumb is being generated like this:

Home > Node title

Home > Taxonomy Term > Node title
0

Not a direct answer, but if you want full control over your breadcrumbs (so that you can predict what the breadcrumb will be at a given path), take a look at Crumbs (https://www.drupal.org/project/crumbs) or Path Breadcrumbs (https://www.drupal.org/project/path_breadcrumbs)

Both modules will allow you to define rules/criteria that are used to construct the breadcrumbs you want on your site.

1
  • In addition, with Crumbs you can go to admin/structure/crumbs/debug, and see the breadcrumb generated with a path of your choice.
    – donquixote
    Oct 3, 2014 at 12:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.