Skip to main navigation Skip to main content Skip to page footer

Breadcrumb Menu

To add an additional item to a breadcrumb menu on glossary detail pages, you can use the AddGlossaryToMenuProcessor. To do this, add the following TypoScript to the setup section of your site package extension. We assume here that your main FLUIDTEMPLATE is in page.10.

page.10 = FLUIDTEMPLATE
page.10 {
    # [...] template settings
    dataProcessing {
        # [...] Other data processors
        50 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
        50 {
            as = breadcrumbMenu
            special = rootline
        }
        60 = CodingMs\Glossaries\DataProcessing\AddGlossaryToMenuProcessor
        60.menus = breadcrumbMenu
    }
}

The property menus of the AddGlossaryToMenuProcessor must contain the key of the MenuProcessor containing your breadcrumb. You can use more than one menu here by specifying multiple keys as a comma-separated list. For example: 60.menus = breadcrumbMenu,myOtherBreadcrumb.