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'm trying to work around the craptastic breadcrumbs for organic group view tabs, but I've run into a snag. The group name is appended(redundantly so) to the end of the breadcrumb instead of using the title of the view page.
I get:
Groups > Group title > Group title
instead of:
Groups > Group title > View title
Comments
Comment #1
MGN CreditAttribution: MGN commentedCan you tell me what you have entered for your paths and titles for this custom breadcrumb?
Comment #2
highvoltage CreditAttribution: highvoltage commentedCertainly.
Titles:
Groups
[ogname-raw]
Paths:
og
og/[ogname-raw]
Comment #3
MGN CreditAttribution: MGN commentedI have tried to replicate this and can't seem to ever get group title > group title (whether using cb or not).
Perhaps I am looking at the wrong types of views pages?
Is this is a default og view? can you give instructions on how to replicate this?
Also, have you tried changing themes?
Comment #4
highvoltage CreditAttribution: highvoltage commentedI'm using the zen theme, and I'm not aware of what other themes allow me to append the content title to the end of the breadcrumb as zen does. Perhaps this has nothing to do with custom breadcrumbs and is a fault of the zen theme then.
...Come to think of it, custom breadcrumbs doesn't allow you to set a name without a path, and so it MUST be zen that's giving the wrong content title...
Sorry for wasting your time x_x
Comment #5
MGN CreditAttribution: MGN commentedYou can supply a breadcrumb title without a path using custom breadcrumbs, by using
<none>
for the path:But it doesn't seem like you have tried anything like that. Also, at this point I don't know of any tokens that would give you the view title. I believe that tokens can be developed for views objects. Another possibility would be to add a global config with custom_breadcrumbs_views to automatically append the view title to the end of the breadcrumb.
If your theme is causing the trouble, you would need to fix it first.
Comment #6
MGN CreditAttribution: MGN commented