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.
Hey.
I'm not too sure if I'm taking full advantage of this module. I type a few things into the boxes but the page doesn't allow me to save.
There are no instructions or error messages to be seen.
Any help would be greatly appreciated!
Comments
Comment #1
NikLP CreditAttribution: NikLP commentedJeff *loves* writing documentation! :)
I agree though - I managed to work out how to use this for one path per node type, but after that I would be stuck. Fortunately I don't need that right now... :) Glad I have this module though, it's just saved me a real pain in the butt.
Comment #2
neubreed CreditAttribution: neubreed commentedI've got it working to a degree, but I can't seemed to go deeper than two levels
Comment #3
kevinweber CreditAttribution: kevinweber commentedEven a few paragraphs of documentation would be helpful. I've tried a few things, and am not having success. So please don't withhold documentation just because it's not complete.
Comment #4
NikLP CreditAttribution: NikLP commentedFrom a personal point of view, the only success I've had with this has been extremely limited.
On my latest project, I have two sections containing custom nodes (testimonials and external links). If I drill down to an individual node, the breadcrumbs would not normally be affected, hence the need for custom_breadcrumbs. In my c_b module settings page (/admin/build/custom_breadcrumbs) I can add a custom breadcrumb by clicking the relevant link, which presents me with three form inputs: node type, titles and paths. In my existing setup, I have used only one title and path for each of testimonials and links, and it's pretty self explanatory: select the node type (e.g. testimonials), input the breadcrumb link title(s) (e.g. "Testimonials") and the link, which will point to the URL of the relevant page, in this case a paged View containing a list of (guess what) Testimonials. The link is set up to be (shock!) "testimonials"! - there is no leading or trailing slash, unless you have paths to nested urls.
If this is of *any* use I'll be surprised, and I certainly don't know how to set it up as per the description on the module home page.
Comment #5
eaton CreditAttribution: eaton commentedHere's a quick overview. Each matching LINE in the 'title' and 'path' fields is a separate breadcrumb entry. Thus, in paths you might use:
taxonomy/term/[term-id]
node/[field-parent_node_nid]
node/[nid]
while in the title field you might enter:
[term]
[field-parent_node]
[title]
that would create three breadcrumb trail entries. One pointing to the taxonomy term on the current node, another pointing to the CCK nodereference 'parent_node' field, and another pointing to the current node itself.
It's important to remember that you're setting up *paths and their titles* -- not magical 'breadcrumb elements'. Pathauto just makes long paths, while custom_breadcrumb makes a *set* of paths and matching titles.
Comment #6
NikLP CreditAttribution: NikLP commentedI'm even more confused now...! :)
Can you give an example set of "before and after" paths that relate to the above example setup?
Thanks Jeff.
Comment #7
NikLP CreditAttribution: NikLP commentedFurthermore, I guess the above depends on the token module being installed...
Comment #8
Crashtest CreditAttribution: Crashtest commentedA manual would be wonderful! :)
In the module description it says it synchronize with the view module. What exactly does that mean?
Comment #9
psicomante CreditAttribution: psicomante commentedhow can i override the "home"?
Thanks.
Comment #10
erika CreditAttribution: erika commentedA demo or a readme file with this module would be highly appreciated.
Comment #11
bennybobw CreditAttribution: bennybobw commentedAs the name suggests, Custom Breadcrumbs allows you to create and modify your own breadcrumbs based on node type. After enabling the module, click on Administer > Site building > Custom breadcrumbs. On this page you'll see the option to add a new custom breadcrumb.
Clicking on that link, you have the option to select the node type the breadcrumb will apply to.
There are two text fields below-- "Titles" and "Paths." When creating a breadcrumb, you're simply creating a link. In the custom breadcrumbs interface "Titles" describes the text of the breadcrumb while "Paths" describes the Drupal path the breadcrumb links to. Each Title must have a corresponding Path. [Unfortunately, there's a bug so if you have a different number of Titles and Paths it will simply reload the form instead of showing the error (but you won't be able to save the breadcrumb).]
To give a very simple example of how to use this module, let's say I have a blog on my web site called "Deep Thoughts." To create this, I use the Views module to create a page at /blog that displays all the node types "blog post." Whenever a user views a blog post I want the breadcrumb to show Home > Deep Thoughts instead of simply Home. To do this I would simply type "Deep Thoughts" in the "Titles" field and and "blog" in the "Paths" field and save my breadcrumb.
Using the Tokens module, the Custom breadcrumbs module becomes much more flexible because my breadcrumbs can become dynamic. So I could create a breadcrumb like Home > Deep Thoughts > [Month of Blog Post] [Year of Blog Post] Where "Deep Thoughts" links to my main blog page and "[Month of Blog Post] [Year of Blog Post]" links to a view that shows only blog posts from the month and year the blog post was created (e.g. June 2007). To do this I would do the following:
Node Type:
Blog Post
Titles:
Deep Thoughts
[month] [yyyy]
Paths:
blog
blog/[mm]_[yyyy]
(where of course, blog/[mm]_[yyyy] is the path to the view of blog posts from that month and year).
So if I created a blog post today (June 13, 2007) my breadcrumb would show Home > Deep Thoughts > June 2007 and "June 2007" links to "blog/06_2007" which is a view of all blog posts from June 2007.
Also, note that Custom Breadcrumbs doesn't actually check to be sure that a particular path exists, so you'll have to check yourself to avoid 404 errors.
Hope this helps!
Comment #12
thePanz CreditAttribution: thePanz commentedNice work bennynbobw! ;)
Issue fixed?
Comment #13
(not verified) CreditAttribution: commentedComment #14
akahn CreditAttribution: akahn commentedbennybobw, I'm going to add that as a book page if you don't mind.
Comment #15
bennybobw CreditAttribution: bennybobw commentedsounds great
-bennybobw
Comment #16
TimeFor CreditAttribution: TimeFor commentedExcellent mod once you figure it out. Post #5 explains everything.
Comment #17
beginner CreditAttribution: beginner commentedThe module maintainer ought to add a link to the documentation page in the module node settings:
http://drupal.org/node/228955
Comment #18
davidneedhamI've tried a few things, but I still can't seem to get this configured properly.
I'm trying to set up a website for a college which will organize all of the courses and faculty for each department in the college. I made custom content types for 'courses' and 'faculty', and I made taxonomy terms to keep track of what department they're in. If I click on a faculty member that is in the art department, I'd like it to say home > art > name. Currently, it just says home > name.
Would it be something like this?
Node Type:
Courses
Titles:
[term-raw]
[title]
Paths:
??
The description says how to replace part of the breadcrumb (replacing blog with Deep Thoughts), but I'm not sure how to make a whole new part of the breadcrumb for the term.
Thanks!
Comment #19
asakurayoh CreditAttribution: asakurayoh commentedHi.
I got the idea behind this module. I set it like that:
BUT! The title-raw output exactly the title of the page, ex: "Asakura Yoh", and not "asakura-yoh". Is there a way to do that?
In autopath, it's exactly that.
Thanks!
Comment #20
freeswell CreditAttribution: freeswell commentedInstead of using authors/[title-raw] just use [menupath] and it should work.
Comment #21
xalexas CreditAttribution: xalexas commentedWell, this what I was looking for! With token module it works as it should be. Thanks for this great module.
Comment #22
jasom CreditAttribution: jasom commentedThan you this. Could you create README.txt into your awesome module with this:
Comment #23
Mark Theunissen CreditAttribution: Mark Theunissen commentedI can't get it to work. There are no error messages, it just doesn't save anything and fails to set breadcrumbs.
Comment #24
MGN CreditAttribution: MGN commented@Mark Theunissen
please start another issue, and describe what version you are using (I would recommend 6.x-1.x dev right now since several patches were just applied), and give more specific details about the custom breadcrumbs that you have set up, what behavior your expected, and what you actually saw. The more detailed information you give, the better able we will be to help you.
But it really should be a separate issue...
Comment #25
Mark Theunissen CreditAttribution: Mark Theunissen commentedYeah I know, I'm just being lazy. ;)
Will check out the dev release. Just outputting error messages would be a good start though.
Comment #26
MGN CreditAttribution: MGN commentedThanks for helping assemble the documentation for this. I supplemented the material supplied by bennybobw and dbabbage to create a README.txt file for the module. It has been committed to 6.x.1.x-dev and a link is available on the project page. Please read through it and provide suggestions for improvements additions or deletions in a separate issue. This issue is now fixed.
Comment #28
pauldj54 CreditAttribution: pauldj54 commentedHi:
I think I don't get it. I installed the module and create my first breadcrumb
Title:
Conferences
Path:
node/6
Now I have a breadcrumb in all the pages: Home > Conferences
The link point to the right place but I only want to show this breadcrumb if I get into the Conferences page and not in all of the pages
Regards
Comment #29
MGN CreditAttribution: MGN commentedIn the 6.x-1.x version, custom breadcrumbs are defined by node type. Custom breadcrumbs will only appear on the node types that you specify. You can further limit their visibility by adding a php snippet to the breadcrumb visibility section of the custom breadcrumb. For example, you could check the path and return TRUE (make the custom breadcrumb visible) for select pages (e.g. by checking $node->nid or some other property of the node).
Hopefully this helps. If not, provide more details explaining what you are trying to accomplish.
Comment #30
pauldj54 CreditAttribution: pauldj54 commentedThank you very much MGN, that's exactly what I try to accomplish
Kind regards
Paul Hernández Moreno
Lucentia Research Group
University of Alicante, Spain
Comment #31
duntuk CreditAttribution: duntuk commentedhow would you append just the node:title to the normal breadcrumb? i.e. how to include the node title in the breadcrumb? I like the way the breadcrumb is formed by default, by drupal, but i also want it to have the page title at the end...
i want to do this:
Services > Administrative = normal breadcrumb
node title = We fix stuff.
Comment #32
IGonza CreditAttribution: IGonza commentedHi,
thanks for the module.
Is it possible to change the breadcrumb on Edit Node page?
(The story is : I create new cotent type. I created new view for that type. So I don't want to use original node view page for my new content type. But when user click on Edit node the breadcrumb has a link to its original node view. This is a reason why I need to replace a breadcrumb on that page.)
Thanks,
Igor.
Comment #33
IGonza CreditAttribution: IGonza commentedComment #34
MGN CreditAttribution: MGN commented@IGonza and duntuk. Please open separate support requests for your issues. This issue was to update the documentation, and has been closed.
Comment #35
dattaraj CreditAttribution: dattaraj commentedwhat php code i should put in breadcrumb visibility section to limit their visibility on $node->nid