Part of the path missing in the breadcrumb

Created on 3 December 2023, 12 months ago
Updated 29 March 2024, 8 months ago

I'm gonna explain my problem schematically, with names possibly dummy.

Imagine a menu that at the first level has an item products. This item has no link associated (I resorted to the code), but if clicked opens a dropdown - we are in a Bootstrap context - that contains several links. Among these links there is a link named category_name. The link associated to category_name contains the URL of a page, /products/category_name. The name of the page is category_name. If I click on the child link category_name, I go on the mentioned target page and the breadcrumb correctly displays something like the following path.

HOME > PRODUCTS > CATEGORY_NAME

Now the page at the URL /products/category_name has a block attached, this block comes from a view, and it displays a list of teasers of items of a certain content type. Each teaser has a button that links the extended view of the same item, where the item is showed in detail. Let's say I click on the details button for a product named product01. Actually the node displaying the details of product01 has a precise URL, that is /products/category_name/product01, and a title, that is product01. The problem is that upon clicking on the link for the details of product01 I get the details, but the breadcrumb displays something like the following path.

HOME > CATEGORY_NAME > PRODUCT01

Actually the expected part PRODUCTS disappears. Why?

I attach a screenshot showing my current configuration.

Thanks in advance!

Andrea

๐Ÿ› Bug report
Status

Closed: duplicate

Version

2.0

Component

Miscellaneous

Created by

๐Ÿ‡ฎ๐Ÿ‡นItaly AppLEaDaY

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024