# Render Navigations and make it in FLUID TEMPLATE available (extend the in file "5_layouts.ts" defined FLUID TEMPLATE)
page = PAGE
page {
    # FLUID TEMPLATE definitions
    10 = FLUIDTEMPLATE
    10 {
        # Render Navigations and make it in FLUID TEMPLATE available
        dataProcessing {
            # MAIN NAVIGATION
            10 = menu
            10 {
                special = directory
                special.value = {$parkMainNavUid}
                levels = 3
                expandAll = 1
                includeSpacer = 1
                as = mainnavigation
                dataProcessing {
                    10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
                    10 {
                        table = tx_news_domain_model_news
                        pidInList = {$menu.eventStoragePid}
                        as = events
                    }
                }
            }
            # SITEMAP NAVIGATION
            20 = menu
            20 {
                special = directory
                special.value = {$parkSitemapNavUid}
                #entryLevel = 0
                levels = 2
                expandAll = 1
                includeSpacer = 1
                as = sitemapnavigation
            }
            # FOOTER NAVIGATION
            30 = menu
            30 {
                special = directory
                special.value = {$parkFooterNavUid}
                levels = 1
                includeSpacer = 0
                as = footernavigation
            }
            # LANGUAGE NAVIGATION (auto = just if multiple languages are existing)
            40 = language-menu
            40 {
                languages = auto
                as = languagenavigation
            }
        }
    }
}
