Closed (fixed)
Project:
Crumbs, the Breadcrumbs suite
Version:
7.x-2.0-beta9
Component:
Breadcrumb display
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2013 at 08:05 UTC
Updated:
12 Jan 2014 at 17:40 UTC
Jump to comment: Most recent
Comments
Comment #1
donquixote commentedHave a look at the Admin > Structure > Crumbs > Entity parent > User.
You can specify what should be the parent path for user/% pages. And you can use tokens.
What exactly do you want to see in the breadcrumb?
Comment #2
dzinergal commentedThanks for replying, I'd like to see the users name displayed as the link e.g. Bob Jone's Profile as the crumb for his user account page.
Comment #3
donquixote commentedOk, here is how the system works:
<front>»user»user/123(it cuts off the last part of the url to find the parent).You can influence this with the "Entity parent" settings as mentioned in #1.
I would say the
userbreadcrumb item as the default parent is actually pretty useless, so I recommend to set e.g.<front>as the parent for "authenticated user". Or if you have a page with a list of users, use that.<front>: "Home"user: "User account" or "My account"user/123: "Bob Jones"Also depending on display settings ("Home link settings"), the home page link might be hidden.
So the resulting breadcrumb could be "Home » User account » Bob Jones" or it could be "Home » User account » " or it could be "User account » Bob Jones" or just "User account » ", depending on your settings.
So, the how does it find a title for user/123?
And here is what you can do.
admin/structure/crumbs/display, in "Current page settings", "Show the current page at the end of the breadcrumb trail", set this to "Show, as link" or "Show, as plain text". (to make the current page link show up)admin/structure/crumbs/entity-parent/user, set "authenticated user" parent =<front>, so that theuserpath is no longer part of the breadcrumb.The resulting breadcrumb on the
user/123page will be "Home » Bob Jones".If instead you want "Home » Bob Jones' profile", you need one step more - we can discuss that in a following post.
Comment #4
donquixote commentedClosing this as "fixed" to clean the queue.
This has been sufficiently explained, and no further questions are popping up.