# Summary

As the name suggests, Custom Breadcrumbs allows you to create and modify your own breadcrumbs based on node type. After enabling the module, go to Administer > User management > Access control. Grant the "administer custom breadcrumbs" permission to the appropriate roles. Then go to Administer > Site building > Custom breadcrumbs. On this page you'll see the option to add a new custom breadcrumb.

# Project URL

https://www.drupal.org/project/custom_breadcrumbs

# Where is the code?

Unknown

# Estimated completion date

Unknown

# Dependencies

Unknown

# Who's doing the port?

Unknown

# What help do they need?

Unknown

# D8 roadmap

Unknown

# Background and reference information

Unknown

Comments

legaudinier created an issue. See original summary.

Greg Boggs’s picture

Since there's been no traction yet for this module, folks interested in Drupal 8 breadcrumbs are more than welcome to collaborate with me on Easy Breadcrumbs: https://www.drupal.org/project/easy_breadcrumb

It can easily be extended to cover the use case of custom_breadcrumbs.

mmjvb’s picture

@colan Please react on @Greg Boggs. Do you agree (Closed(duplicate)) or plan to port. Maybe even Closed(Duplicate)) due to different module than easy_breadcrumbs.

Greg Boggs’s picture

Hey mmjvb,

I don't think Colan has been active in 4 years or so. But, I believe the feature that custom and path breadcrumbs has that Easy Breadcrumb doesn't (yet) have is the ability to modify the text of the breadcrumb on the current page. Easy Breadcrumb pulls the title, which works for most sites, but there are some sites where folks might need to edit it.

I'm happy to accept the feature, or we can work on another breadcrumb port. Seems worse to maintain multiple different breadcrumb modules when we don't need them though.

mmjvb’s picture

Saw recent activity (one 9 days ago).
He also started the initiative to at least talk about all the features of several breadcrumb solutions.
Did the same thing in one of the other modules (path_breadcrumbs). Only interested in the facts so these issues can be updated to reflect them.
His opinion as the owner maintainer of the module in this issue is considered relevant to me.

Disagree on having multiple solutions to be worse. As a maintainer of a module, I would provide a D8 version. Migrating a site based on D7 to D8 is difficult as it is. Not the right time to force additional migrations!

Greg Boggs’s picture

That's great! Most likely, you'll need to email him directly so he sees this issue then as it's not part of his module's issue queue.

Greg Boggs’s picture

In general, the more duplicate modules we make, the worse that all of them are maintained. If instead, we combine forces, fewer programmers can maintain things better. If we did decide to combine some modules, like Path Breadcrumb and Easy breadcrumb for example, in doing it, we'd want to make sure the upgrade path from D7 Path Breadcrumb to D8 Easy Breadcrumb was completely automatic.

~Greg

Greg Boggs’s picture

Of course, the disadvantage is that we wouldn't want to lose the easy use of Easy Breadcrumb by adding bells and whistles that complicate things.

kanroom’s picture

Hi! Look for Chained Breadcrumbs module. It allow set hierarchical breadcrumbs by system path.

Greg Boggs’s picture

looks similar to custom_breadcrumbs, what do you think?

kanroom’s picture

If be honest i don't very familiar with custom_breadcrumbs module. All i know about this module, that the breadcrumb created by it may be created by particular path, breadcrumb may have multiple links and may be added conditions for the showing breadcrumb. The module Chained Breadcrumbs allow do the same thing but it supports create relations between breadcrumbs which simplifies the creation of hierarchical breadcrumbs.

lamp5’s picture

Hi @all. Recently we needed very similar module for our client so I decided to try port some functionality from custom breadcrumb d7 to d8. Right now module works very well on one huge site without issues. What was did:

  • ability to add custom breadcrumb for all content entity or paths like page manager, views etc
  • store settings using config entity so everything is exportable
  • setup homepage link
  • setup current page last crumb
  • multilanguage support
  • token support
  • extra cache contexts
  • extra vars like and hierarchical breadcrumbs from taxonomy term tree
  • added ability to attach breadcrumb to every entity display mode, for example on teaser with search results

Now, I start process to be a module co-maintainer, then I can share module for D8 and D9. Remember that it is a early stage concept of this module and can be extended or refactored in the future.

Greg Boggs’s picture

That's great. I held off adding a feature for arbitrary crumbs per path to Easy Breadcrumb because it just didn't seem to fit the module scope. Feel free to shoot me a gitlab (or github?) if you want me to take a look while we wait for the maintainers from custom breadcrumbs to add you. I'm sure we'll have some common code between custom and easy breadcrumb.

~G

junaidpv’s picture

@lamp5, could you please share your code? We are having similar requirements that we met with custom_breadcrumb module in D7.

Currently I am working on patch for core views module to allow to have breadcrumbs based on contextual filter values. I found patch patching views module essential, which I really try to avoid.

If you already included that feature in your new module then it would really great and helpful not to re-invent the wheel.

lamp5’s picture

Status: Active » Needs review

Drupal 8/9 version pushed.

Greg Boggs’s picture

++ on the push.

I believe easy breadcrumb does contextual filters as well. But, if there's a bug please let me know!

Greg Boggs’s picture

++ on the push.

I believe easy breadcrumb does contextual filters as well. But, if there's a bug please let me know!

apaderno’s picture

Status: Needs review » Fixed

It has a stable release since January, 2022.

Status: Fixed » Closed (fixed)

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