You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "Breadcrumb" reaction that ships with the contrib Context module doesn't work with Islandora objects. To replicate the behavior of this plugin, which is to replace a page's breadcrumb with the link to the selected menu item, we could probably implement hook_islandora_breadcrumbs_alter() to replace the breadcrumbs generated by Islandora with a link to the selected menu item. Won't do that until someone asks for it though.
The text was updated successfully, but these errors were encountered:
One possible use case would be to display a breadcrumb trail containing links to its parent collections. If building this list could be made performant, this reaction might be useful to those sites that have turned of "Render Drupal breadcrumbs" for scalability reasons. Might go like this:
Get object's parent collection PIDs
For each of the collections, do the following query to get the corresponding collection object's title: "http://localhost:8080/solr/select?version=1.2&wt=json&json.nl=map&fl=fgs_label_s&q=PID:%22islandora:sp_basic_image_collection%22"
Use drupal_set_breadcrumb() to render the breadcrumb
The "Breadcrumb" reaction that ships with the contrib Context module doesn't work with Islandora objects. To replicate the behavior of this plugin, which is to replace a page's breadcrumb with the link to the selected menu item, we could probably implement hook_islandora_breadcrumbs_alter() to replace the breadcrumbs generated by Islandora with a link to the selected menu item. Won't do that until someone asks for it though.
The text was updated successfully, but these errors were encountered: