...
You may control the navigation information on a per-folder level in your Alfresco Web Project via the web form named "Navigation Information". This web form manages a file in the current folder called "navigation.xml". If you have just created a new folder and you want to control its navigation information, you must choose Create > Create Web Content. Then you should create content via the "Navigation Information" web form as shown below:
(Note: the information in the "Name:" field is ultimately ignored; the output file will always be named "navigation.xml". Unfortunately the "Name" field is mandatory, so you are forced to type something in there. Sigh.)
...
The form for editing/creating the navigation.xml file is shown below:
There are three types of fields to be filled out.
...
No Format |
---|
<nav:setSiteTreeVar var="theSiteTree" />
<h3><ul><li>
<nav:treeWalk root="${theSiteTree.homeSection}" var="page">
<a href="${page.url}" ><c:out value="${page.title}" /></a>:<br/>
<ul><c:forEach items="${page.subpages}" var="subpage">
<li><nav:subtreeWalk subroot="${subpage}" /></li>
</c:forEach></ul>
</nav:treeWalk>
</li></ul></h3>
|
...
No Format |
---|
<nav:setBreadcrumbVar var="breadcrumb" />
<c:forEach var="page" items="${breadcrumb}" varStatus="status">
<c:if test="${not status.first}">></c:if><a href="${page.url}" ><c:out value="${page.title}" /></a>
</c:forEach>
|
...
No Format |
---|
<nav:setPageVar var="page"/>
<c:forEach var="subpage" items="${page.subpages}" >
• <a href="${subpage.url}" ><c:out value="${subpage.title}" /></a><br/>
</c:forEach>
|
...