Problem/Motivation

Context path breadcrumb optionally loads the menu item for a breadcrumb to display its title. However, when a path is available in multiple menu's, this title may come from either of the menu's. This may result in a confusing experience when a different title is displayed in the breadcrumb than expected.

Proposed resolution

Allow configuration of which menu to use when loading the menu item that will be used in the breadcrumb.

Remaining tasks

  1. Write a patch
  2. Review
  3. Commit

User interface changes

A new selection option 'Load the page titles from a specific menu' is available in the Context configuration when 'Load the page titles from menu table' is enabled.

API changes

None.

Data model changes

None.

Comments

idebr created an issue. See original summary.

idebr’s picture

Status: Active » Needs review
StatusFileSize
new3.61 KB

Attached patch implements a new selection option 'Load the page titles from a specific menu' in the Context configuration when 'Load the page titles from menu table' is enabled.

idebr’s picture

StatusFileSize
new3.8 KB

Apparently I was working on an outdated revision, so the patch in #2 will not apply. The attached patch uses the latest code available in 7.x-1.x.

  • Johnny vd Laar committed a06708d on 7.x-1.x authored by idebr
    Issue #2821613 by idebr: Configure which menu to use for the breadcrumb...
Johnny vd Laar’s picture

Status: Needs review » Fixed

I've modified your patch a little bit such that you can select multiple menu's. When you update you should take notice that the setting name has been changed a little bit so you'll need to update your context.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.