hNavigationPositionAnonymous

Called to add entries in the left hand navigation for anonymous users, if allowed by application configuration. The navigation should be generated for O.currentUser.

See also hNavigationPosition.

Arguments

Name Type Description
name String Configured position name

Response

Return information by changing these properties of the response object.

Name Type Description
navigation NavigationBuilder NavigationBuilder object for adding entries to the navigation

JavaScript template


P.hook('hNavigationPositionAnonymous', function(response, name) {
    // Respond to hook, for example
    // response.navigation = ...
});