breadcrumb

Jurjen, do you have any idea what exactly determines the breadcrumbs for a node?

I've created a new book ("New AST") in the Codeparse group, and the breadcrumb is:
Home -> groups -> Codeparse group

"Groups" seem to be the overriding element in breadcrumbs, but for my book pages, it sure doesn't make sense.

If I'm looking at one of the pages in the book, I would really want the book itself to be in the breadcrumbs, but it's not.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
john's picture

Workaround (hack)

jurjen's picture

Re: breadcrumb

> "Groups" seem to be the overriding element in breadcrumbs, but for my book
> pages, it sure doesn't make sense.
> If I'm looking at one of the pages in the book, I would really want the
> book itself to be in the breadcrumbs, but it's not.

I am totally happy the way it works. While viewing a book page, you already
see the outline in the left column and there is no way to return to the
group page (which is imho the mst usefull page of all, thanks to the "most
recent" blocks on it) except for the link in the breadcrumbs. By the way,
this is not really a bread crumbs trail, it is a "where are you" list.


john's picture

Re: breadcrumb

jurjen wrote:
> I am totally happy the way it works. While viewing a book page, you already
> see the outline in the left column and there is no way to return to the
> group page (which is imho the mst usefull page of all, thanks to the "most
> recent" blocks on it) except for the link in the breadcrumbs. By the way,
> this is not really a bread crumbs trail, it is a "where are you" list.

You are happy with it because it is working properly for the Prolint pages! It's also working properly for ProRefactor. It's not working for "New AST", and I can't figure out why.

When looking at sub-pages in the ProRefactor and Prolint books, "ProRefactor" and "Prolint" end up in the breadcrumbs, so it's easy to find your way back to the topmost node in the book.

That's not the case with "New AST". Have a look.

Sheesh, now what's up with the site? I'm getting very poor response.


jurjen's picture

Re: breadcrumb

> That's not the case with "New AST". Have a look.

Ah yes, I see what you mean.
AST has the same problem that has bitten me before: that the book outline does not have a link to the "book cover". The "Up" link is the only way to get there. I think it is a bug or missing feature in the Outline block.

I fail to see a good solution, sorry.


john's picture

I haven't been able to find

I haven't been able to find any sort of pattern to the problem. Most ProRefactor pages are fine, but a couple of them have the problem, like prorefactor/about. I didn't spot any Prolint pages with the problem.

I've been examining the pages, and trying to find differences between the pages that work and the ones that don't, and I haven't been able to find any. Maybe I'm missing something obvious.

I've searched the Drupal forums pretty extensively.

It's actually a pretty ugly UI bug. It makes navigation in those pages very annoying.


john's picture

Re: breadcrumb

Exactly. I think it might be a bug in OG. I saw one post which complained that OG was selecting breadcrumbs based on node creation date! I'll have to keep searching the forums.

It sure is annoying that the book navigation block doesn't have a link to the book's topmost node.