cms icon indicating copy to clipboard operation
cms copied to clipboard

[5.x]: Entry's parent section appears in breadcrumbs even when disabled

Open thupsi opened this issue 7 months ago • 0 comments

What happened?

Description

This is kinda related to https://github.com/craftcms/cms/pull/17395, but not exactly the same. My issue is that even when a section is disabled, it still appears in the breadcrumbs of an entry in this section.

Steps to reproduce

  1. Disable a section from the source settings.
  2. Go to "all entries" and click on an entry that belongs to the section you just disabled.

Expected behavior

The disabled section is hidden in the breadcrumbs of the entry's edit view.

Actual behavior

The disabled section is visible in the breadcrumbs of the entry's edit view.

I get that it may not be 100% correct to "ommit" a level from the breadcrumbs, but IMO the current behavior is a little confusing for authors.

PS. Sometimes an entry that belongs in a disabled section, also appears in a custom source. It would be cool if when navigating to such an entry from a custom source, Craft took this into account and placed that custom source in the entry's breadscrumbs.

Craft CMS version

5.7.10

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

thupsi avatar Jun 09 '25 14:06 thupsi