Tutorial: adding menu to DocManager template

By default the main page of DocManager template doesn't have a menu, just a list of files and folders. This would work just fine if all you need is to manage files. If DocManager template is a part of larger project you want, at the very least, display a menu with links to other project pages. Here is how you can do this.

1. Adding horizontal menu.

Proceed to doc_files List page in Visual Editor and switch to HTML mode. Insert the code snippet in bold.

Quote

{BEGIN container_search}
<DIV class="rnr-c rnr-ch rnr-c-search">

<DIV class="rnr-c rnr-ch rnr-c-hmenu">
{$menu main horizontal}
</DIV>

...

Switch back to Visual mode to make sure it looks right. Here is how it supposed to look in generated application.