I just found your module, and was wondering what the difference is between Path Breadcrumbs and Custom Breadcrumbs (the long-existing breadcrumbs module that I've recently taken over: #1793544: Offering to maintain Custom Breadcrumbs.

Would you be so kind as to explain it on your project page? Once I'm aware of the differences, I'll do the same on the Custom Breadcrumbs page.

I'm asking because I'm somewhat concerned that there may be overlap/duplication, and we may be able to work together on this. Thanks!

Comments

One KEY difference, in my opinion, is that this module does not use the Token module. Its built in replacements are more limited.

Path breadcrumbs based on CTools, what do PB more flexible for developers.
Custom Breadcrumbs is a box solution without power of ctools.

@omerida, wrong. PB uses Chaos Tools placeholders, but they provides all power of Token and Entity Token modules.

PB is much more flexible to build breadcrumbs than CB. CB provides box solutions while using PB you can configure breadcrumbs as you like.

I'll have to check my setup again, because when I looked, some entity tokens were not available via this module that were available in custom breadcrumbs. Particularly for entity reference fields, but I think also for a datetime field.

Entity tokens are not displayed in 2.x branch, but working if enter them manually :) I'm going to fix this in new releases.

Can you write some example of using one, please?

Examples of using PB? Building any breadcrumbs you can imagine :) You can even show different breadcrumbs for the same page (choosing any display conditions).

I think both modules have the same goals (but use different strategies), so you should join forces. Although I have not used both modules extensively, I think that PB can do what CB does, but also more.

I'd be willing to deprecate CB in favour of PB if:

  1. We can get a list of features in CB that are missing from PB, and
  2. we get those features added to PB.

We can use this as a meta-issue to track all of these by maintaining the list in the description as we add items to it. Please all start coming up with the list items.

Great, I like this!

@colan, I think we should do this way: I will provide all features that are missing from CB, and you will provide all features missing from PB. Then I will implement all missing features. How do you like this idea?

See table with modules' features:

Feature Custom Breadcrumbs Path Breadcrumbs
Easy to start ++ +
Global "Home" link title + -
Rich snippets support - +
Single export/import - +
Bulk export / Features support - +
Change breadcrumb delimiter - +
Integration with i18n (multilingual) - +
Build breadcrumbs based on menu hierarchy + -
Adds custom classes to navigation + +
Possilty to build custom breadcrumbs on custom page(s) - +
Performance ? +

I think that #1849400: Hierarchical taxonomy terms breadcrumb for a node is also a feature from CB that PB is missing.

@jiakomo, wrong. See http://drupal.org/node/1849400#comment-6772276 - you could build taxonomy hierarchy based on any node field.

@colan, I think we should do this way: I will provide all features that are missing from CB, and you will provide all features missing from PB. Then I will implement all missing features. How do you like this idea?

Although I recently took over CB, I'm not overly familiar with it - I just wanted to help get some RTBCed issues committed, and put out some releases. So let's all start adding issues to the top of this ticket (as we create or become aware of them) like in #1624830: [META] Roadmap for a stable release of Entity Translation. Click on the edit tab here to add things to the list. I put a note to this effect on the CB project page so we should get more input on this soon.

So yes, let's collect all of the items, and then you can start implementing. ;)

There is another module Breadcrumb2. http://drupal.org/project/breadcrumb2/.

It is base on entity API, Rules, link, Views.

It's not clear from the module description or the video I watched if this module supports things like views, panels, etc?

Breadcrumb2(http://drupal.org/project/breadcrumb2 ) support Panels very well since beta5.
Breadcrumb2 also support Views.

@NikLP, module supports all url paths on site. No matter how they was build (views, page manager, drupal core, custom, etc.)

RE #18, it is completely unclear to me how to provide the following solution:

Navigation:

Home
Home > Widgets
Home > Widgets > Widget A

Drupal elements:

Home url (node, whatever) <- handled by Drupal internally
Home url > Widgets view url <- arbitrary path as set in views, the (page, of nodes) view is a "section overview"
Home url > Widgets view url > Widget node url <- a node as listed in the view above

So, I want the Widgets link to appear on that page, and the Widgets and Widget A links to appear on the Widget A page, in the breadcrumbs. This is very simple in CB but I cannot work this out. The documentation needs more examples, if this is indeed possible.

@NikLP, what is Widget and Widget A? It is not clear for me.

A page view of nodes, and a node page respectively, as I illustrated above...

I really like the way this module works but I cannot get it to take over a set of views breadcrumbs.

/blogs/%/%/% for /blogs/user/year/month

I've made 3 rules:

Blogs/%user[User:name]
Blogs/%user[User:name]/%year[string]
Blogs/%user[User:name]/%year[string]/%month[string]

no contexts set just using a base path of blogs & tokens in the breadcrumbs

Nothing works on this set of views displays...I've made sure views isn't trying to set the breadcrumb, tho it is populating the title for each of those pages

There is a comparison page with a comparison table, maybe you want to add the findings from #11 ?
http://drupal.org/node/533448

Without path alias support, neither module can work for me. PB does not appear to support url alias which is a problem when the Pathauto modules is reporting over 480,000 installs. http://drupal.org/project/pathauto

I was about to use CB because I have used it before but now going to hold off until this is ironed out. URL alias is a requirement for most of my projects.

Joao

You can use node/%node for example or taxonomy/term/%term and breadcrumbs will apply to an alias. Using paths more useful, because they includes id's, and PB can use all data from node. For example you can build breadcrumbs based on node with needed term-reference (and rule will not apply to another nodes with another term-references). So i think PB is most flexible solution.

I'd be willing to deprecate CB in favour of PB if:

We can get a list of features in CB that are missing from PB, and
we get those features added to PB.
We can use this as a meta-issue to track all of these by maintaining the list in the description as we add items to it. Please all start coming up with the list items.

Colan,

I see that there's talk of deprecating Custom Breadcrumb for Path Breadcrumb. I hope you realise that the established user base of CB is 10x that of PB. You should probably consider integrating the other way instead... PB=>CB.

My tuppence...

Susheel

So which of the two support URL alias? Anyone who really wants to hit SEO hard is using that module for google ranks.

@susheel_c: Don't worry; I'm not planning on doing anything like that any time soon, but isn't it a great way to promote discussion on the issue? ;) Basically, I'm trying to herd folks into getting us down to one module in the long-term. It may never happen, but I'd at least like a clear understanding of what the differences are.

@colan: Thanks for the note mate! I Just wanted that (important) point to be noted. :) I shall rest easy now.

Issue summary:View changes

Fixed typo.