Portal - Modifying navigation


Article ID: 127238


Updated On:


CA API Developer Portal CA API Gateway


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 --> 
<div id="tools"> 
<!-- thelevel[start]::HeaderContent --> 
<!-- thelevel[end]::HeaderContent --> 
<div id="navigation"> 
<!-- thelevel[start]::NavigationContent --> 
<!-- thelevel[end]::NavigationContent --> 

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


Portal 3.5


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.