Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
omerida CreditAttribution: omerida commentedOne KEY difference, in my opinion, is that this module does not use the Token module. Its built in replacements are more limited.
Comment #2
alexander_danilenko CreditAttribution: alexander_danilenko commentedPath breadcrumbs based on CTools, what do PB more flexible for developers.
Custom Breadcrumbs is a box solution without power of ctools.
Comment #3
Spleshka@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.
Comment #4
omerida CreditAttribution: omerida commentedI'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.
Comment #5
SpleshkaEntity tokens are not displayed in 2.x branch, but working if enter them manually :) I'm going to fix this in new releases.
Comment #6
alexander_danilenko CreditAttribution: alexander_danilenko commentedCan you write some example of using one, please?
Comment #7
SpleshkaExamples of using PB? Building any breadcrumbs you can imagine :) You can even show different breadcrumbs for the same page (choosing any display conditions).
Comment #8
jiakomo CreditAttribution: jiakomo commentedI 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.
Comment #9
colanI'd be willing to deprecate CB in favour of PB if:
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.
Comment #10
SpleshkaGreat, 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?
Comment #11
SpleshkaSee table with modules' features:
Comment #12
jiakomo CreditAttribution: jiakomo commentedI think that #1849400: Hierarchical taxonomy terms breadcrumb for a node is also a feature from CB that PB is missing.
Comment #13
Spleshka@jiakomo, wrong. See http://drupal.org/node/1849400#comment-6772276 - you could build taxonomy hierarchy based on any node field.
Comment #14
colanAlthough 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: Plan for Entity Translation 7.x-1.0 release. 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. ;)
Comment #15
g089h515r806 CreditAttribution: g089h515r806 commentedThere is another module Breadcrumb2. http://drupal.org/project/breadcrumb2/.
It is base on entity API, Rules, link, Views.
Comment #16
NikLP CreditAttribution: NikLP commentedIt's not clear from the module description or the video I watched if this module supports things like views, panels, etc?
Comment #17
g089h515r806 CreditAttribution: g089h515r806 commentedBreadcrumb2(http://drupal.org/project/breadcrumb2 ) support Panels very well since beta5.
Breadcrumb2 also support Views.
Comment #18
Spleshka@NikLP, module supports all url paths on site. No matter how they was build (views, page manager, drupal core, custom, etc.)
Comment #19
NikLP CreditAttribution: NikLP commentedRE #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.
Comment #20
Spleshka@NikLP, what is Widget and Widget A? It is not clear for me.
Comment #21
NikLP CreditAttribution: NikLP commentedA page view of nodes, and a node page respectively, as I illustrated above...
Comment #22
jpstrikesback CreditAttribution: jpstrikesback commentedI 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
Comment #23
donquixote CreditAttribution: donquixote commentedThere is a comparison page with a comparison table, maybe you want to add the findings from #11 ?
http://drupal.org/node/533448
Comment #24
joaomachado CreditAttribution: joaomachado commentedWithout 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
Comment #25
alexander_danilenko CreditAttribution: alexander_danilenko commentedYou 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.
Comment #26
susheel_c CreditAttribution: susheel_c commentedColan,
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
Comment #27
greenwork CreditAttribution: greenwork commentedSo which of the two support URL alias? Anyone who really wants to hit SEO hard is using that module for google ranks.
Comment #28
colan@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.
Comment #29
susheel_c CreditAttribution: susheel_c commented@colan: Thanks for the note mate! I Just wanted that (important) point to be noted. :) I shall rest easy now.
Comment #29.0
susheel_c CreditAttribution: susheel_c commentedFixed typo.
Comment #30
dmkelner CreditAttribution: dmkelner commentedSo what have you guys decided? We need a solution that takes advantage of path aliases, but CB is not being maintained. With Drupal 8 on the horizon, what is the logical solution? Thanks!
Comment #31
kalabroHi @dmkelner!
Path Breadcrumbs can be great UI for Drupal 8 breadcrumbs based on Condition Plugins API.
I had initial discussions about PB porting to Drupal 8 with @andypost. As I see it now, we should wait a little bit until https://www.drupal.org/project/page_manager will be ported.
Also, @Spleshka has an idea to move PB core to separate module so other modules will be able to use PB UI not only for breadcrumbs but for any other stuff they can imagine.
When we will be ready to start porting I will add all information and links on PB project page.
Any help will be appreciated!
Best,
Kate
Comment #32
dmkelner CreditAttribution: dmkelner commentedKate, thanks for the reply. As long as this will work with views and pathauto then I'm happy to see someone take it forward to D8. I really need a D7 solution right now and in a quandry. I'd rather go with PB if it will move on to D8, but need pathauto. Guess I'll be looking some more!
I'm not really a coder, so not sure what help I can be with the port. Let me know if you think of some way I can help.
Comment #33
kalabroAre you talking about this feature?
This task can be done with https://www.drupal.org/project/breadcrumbs_by_path module and it's completely compatible with Path Breadcrumbs.
Comment #34
dmkelner CreditAttribution: dmkelner commentedNot sure breadcrumbs by path will do it. There is a discussion of its limitations and that is exactly my issue. I have a breadcrumb of Home > Publications > Journal, but there is no valid page for journal. I want to eliminate that component of the breadcrumb. Then, for the pages that come below that (Home > Publications > Journal > Spring 2014) I want to eliminate the Journal component from there as well.
Comment #35
donquixote CreditAttribution: donquixote commentedJust saying, both Crumbs and Easy breadcrumbs have breadcrumbs based on path alias.
Not really compatible with Path breadcrumbs, though.
(I am silently following this thread, but don't want to hijack it too much)
Comment #36
dmkelner CreditAttribution: dmkelner commentedThanks @donquixote. I'll see if that works for now.
Comment #37
kalabroIf there are some relations between Publications, Journal and “Spring 2014” it can be done with Path Breadcrumbs. Even only these specific cases can be solved with PB, and other — with “Breadcrumbs by path”.
You are welcome :)
Comment #38
WebWalker3D CreditAttribution: WebWalker3D commentedThe major drawback of PB which I see as unforgivable (in usability) is the lack of support for jquery_update. Even downgrading the admin interface to 1.5 PB breaks. Having a warning on the project page "Please, disable jQuery Update while working in Path Breadcrumbs UI!" should be an indication to stay away. Let's break the rest of the site while I get breadcrumbs working. Or not....
Comment #39
kalabroHello @WebWalker3D!
Thank you for your feedback. I absolutely agree that it's annoying bug. I hear similar complains almost every time I present PB on local events. PB uses some pieces of Rules JS code and we are keeping an eye on related Rules issue: #1810656: Rules UI does not work with JQuery 1.7+
Occasionally I dive into new stable and dev jQuery Update versions and fix compatibility problems. Any help is welcome here: #2066223: Isn't compatible with jQuery Update
In the next major PB release we will do our best to avoid using sensitive JS code.
For now the most common approach is to downgrade jQuery to 1.7 on admin pages and use Seven / Ember / Adminimal or other stable admin theme.
Best,
Kate
Comment #40
andypostany update on porting?
Comment #41
DrCord CreditAttribution: DrCord commentedany update on this thread for actual status of differences?
Things I am fairly sure are no longer accurate about PB:
problems with jQuery update
doesn't have global "home" link title
Comment #42
jackpetraitis CreditAttribution: jackpetraitis as a volunteer commentedI'm wondering as well if there's any update on the status of the differences between these two modules. Are there plans to combine them for Drupal 8?
Comment #43
dqdSince PB is for D7 only (still) I think the main difference is obvious for now by the different supporting versions. I will close this one for now until the version support changes. Feel free to reopen then.