JBoss.orgCommunity Documentation
When you configure the navigation.xml file, sometimes you need to set the visibility of page (node).
To configure the page visibility, simply put <visibility>type_of_visibility</visibility> as a child of the <node> tag.
eXo Platform supports 4 types of page visibility, including:
DISPLAYED: The page will be displayed.
HIDDEN: The page is not visible in the navigation but can be accessed directly with its URL.
SYSTEM: It is a system page which is visible to superusers. In particular, only superusers can change or delete this system page.
TEMPORAL: The page is displayed in related time range. When the visibility of TEMPORAL page is configured, the start and end date can be specified by using <startpublicationdate> and <endpublicationdate>. For example:
<node>
...
<visibility>TEMPORAL</visibility>
<startpublicationdate>01/13/2011 12:46:38</startpublicationdate>
<endpublicationdate>01/20/2011 18:46:42</endpublicationdate>
</node>
To hide a page from menu and navigation, use <visibility>HIDDEN</visibility>:
<node-navigation xmlns="http://www.gatein.org/xml/ns/gatein_objects_1_0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.gatein.org/xml/ns/gatein_objects_1_0 http://www.gatein.org/xml/ns/gatein_objects_1_0">
<page-nodes>
<node>
<uri>sitemap</uri>
<name>sitemap</name>
<label>#{portal.classic.sitemap}</label>
<visibility>HIDDEN</visibility>
<page-reference>portal::classic::sitemap</page-reference>
</node>
...
</page-nodes>
</node-navigation>