You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The navigation service, sometimes called MidCOM NAP (Navigation Access Point), is used to build the navigational tree for a web site. It can retrieve individual Nodes and Leaves (or the current one) and generate the breadcrumb line for the current position, among other things.
In the NAP tree, information about a component's available request URLs is present, which means that navigational trees for menus can be generated dynamically. See MidCOM NAP Constants for a list of available information. The breadcrumb line is usually created with info retrieved from midcom_helper_nav methods as well:
$nap = newmidcom_helper_nav();
//This outputs a breadcrumb lineecho$nap->get_breadcrumb_line();
To create NAP Leaves for Components, on has to overwrite the get_leaves method in the Component's navigation.php file.
Caveats
In Topics with many Articles, like a net.nehmer.blog with hundreds of entries can make the NAP tree very large and thus causes long loading times.