This document contains information for an outdated version and may not be maintained any more. If some of your projects still use this version, consider upgrading as soon as possible.

How to create a navigation menu

In this how-to, we'll create a simple menu which you can use as the primary navigation for your website.

Add the following code to your main template, most likely the "Page" template in your theme, located in themes/<mytheme>/templates/

    <% loop $Menu(1) %>      
      <a href="$Link" title="Go to the $Title page" class="$LinkingMode">
     <% end_loop %> 

More details on creating a menu are explained as part of "Building a basic site", as well as "Page type templates" topic.

Was this article helpful?