Portal - Modifying navigation

book

Article ID: 127238

calendar_today

Updated On:

Products

CA API Developer Portal CA API Gateway

Issue/Introduction



I found that the site template can be edited in Portal 3.5. how can you modify navigation parts? 

<body class="homepage-blpt"> 
<div class="container"> 
<div id="header"> 
<h1 id="logo"> 
<a href="/"><!-- thelevel[systemMode=OutputSiteEntity]::PageInfo --></a> <!-- thelevel[systemMode=OutputSiteTitle]::PageInfo --> 
</h1> 
<div id="tools"> 
<!-- thelevel[start]::HeaderContent --> 
<!-- thelevel[end]::HeaderContent --> 
</div> 
</div> 
<div id="navigation"> 
<!-- thelevel[start]::NavigationContent --> 
<!-- thelevel[end]::NavigationContent --> 
</div> 
</div><!--/container--> 

What is <!-- thelevel[start]::HeaderContent -->, and how can it be edited?

Environment

Portal 3.5

Resolution

The site template can be edited, but the comments that all start with the level are hooks into cms functionality and get replaced by the resulting cms layout templates. They should not be removed or modified. They can, however change location in the file. The HeaderContent comment hooks into the cms for all the html output such as the logo, site title, search, and login area. The NavigationContent comment hooks into a more complex feature with the cms that defines the top level navigation links. You can't edit the boilerplate to change what the outputs of those cms hooks are, but you could for example, move [email protected]="tools" and the child comments comments below [email protected]="navigation" and things would still work.