

Sometimes it happens that you want to display pages with the type "Not in Menu" in a sitemap. We can easily do this with the following snippet.
tt_content.menu.20.2.excludeDoktypes=6 tt_content.menu.20.2.includeNotInMenu = 1
Here we reformat the default sitemap of tt_content. Given that the sitemap is a common HMENU we can set the property excludeDoktypes. With excludeDoktypes can you pass, as a comma seperated list, the types of the pages which shouldn't be shown in the menu to the HMENU. As the default "Backuser Area" (6) and "Not in Menu" (5) are not shown.
More information for HMENU can be found on TSREF




Noob question:
Do I just paste that into Constants or where. Do I need some context code?
Thanks!
Holby
Add comment