Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breadcrumbs for object in multiple collections #1777

Open
mjordan opened this issue Mar 14, 2021 · 5 comments
Open

Breadcrumbs for object in multiple collections #1777

mjordan opened this issue Mar 14, 2021 · 5 comments
Labels
Type: enhancement Identifies work on an enhancement to the Islandora codebase

Comments

@mjordan
Copy link
Contributor

mjordan commented Mar 14, 2021

If an object is a member of more than one collection, the Islandora breadcrumbs only ever show its membership in one collection. For example:

image

Any way around this, for example, to show in an item's breadcrumb all of the collections it's a member of? In this example, that would look like:

Home > Collection 1 / Collection 2

or

Home > Collection 1
       Collection 2

Or something similar.

@seth-shaw-unlv
Copy link
Contributor

Well, in the case of multi-level collections, you can still only follow one up the tree, unless you want to make something like a pedigree chart...

@dannylamb
Copy link
Contributor

dannylamb commented Mar 15, 2021

Ah yes, this old chestnut. It plagues Islandora 7.x as well.

I'm sure it can be done, but you'd have to really perform some rocket surgery to get there. I'm sure this violates all kinds of assumptions made by the breadcrumb system in Drupal.

@whikloj
Copy link
Member

whikloj commented Mar 15, 2021

I think what @seth-shaw-unlv is saying is the real problem. A breadcrumb trail is not one level. So if your item is in two collections and one of those two collections is also in two collections, it starts to get weird.

Home -> Main Collection 1 -> Sub Collection A ->
     |-> Main Collection 2 -> Sub Collection B ->
     |-> Main Collection 3 _/

@kayakr
Copy link
Contributor

kayakr commented Mar 15, 2021

FYI, this is how another Drupal site I'm involved with renders breadcrumbs for multiple parents (using D7 node_hierarchy module):
Screen Shot 2021-03-16 at 8 32 51 AM

@mjordan Edited to clarify other site is Drupal 7, but not Islandora.

@mjordan
Copy link
Contributor Author

mjordan commented Mar 16, 2021

@kayakr I like this visual approach, it's kinda similar to my stick-figure multiline mockup ^ but more explicit. I'm curious to know how you are using the D7 node_hierarchy module on Islandora 7 objects though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: enhancement Identifies work on an enhancement to the Islandora codebase
Projects
Development

No branches or pull requests

6 participants