Navigation root#
Plone has the concept of a navigation root, which provides a way to root catalog queries, searches, breadcrumbs, and other content types in a given section of the site. With a navigation root, site managers can constrain searches or navigation queries in sub-sites or multilingual sites within specific site sections, enhancing search precision.
Get navigation root#
Query function#
Use the getNavrootQuery function to get the query for fetching the navigation root for the given path.
Hook#
Use the useGetNavroot hook to get the navigation root for the given path.
Parameters#
path: string
Required: Yes
language: string
Required: No