I would like not to display the empty news detail page in the breadcrumb. I added the breadcrumb as explained here. Then I disabled the "Page enabled in menus" as recommended on the same page. But the breadcrumb still shows like:
Home > News > Single news > This is the name of the news
But it should be like this:
Home > News > This is the name of the news
Any ideas?
SOLUTION:
I am using FLUIDTEMPLATE
with MenuProcessor
with the following setup:
...
30 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
30 {
special = rootline
special.range = 0|-1
includeNotInMenu = 0
as = breadcrumbMenu
}
40 = GeorgRinger\News\DataProcessing\AddNewsToMenuProcessor
40 {
menus = breadcrumbMenu
includeNotInMenu = 0
}
...
When including includeNotInMenu = 0
and enable Page enabled in menus
in the page settings of the News detail page
the page itself won't be shown in the breadcrumb.
It is shown like this:
Home > News > This is the name of the news