Repository navigation
Menu Builder
Oleg Ivanchenko edited this page Oct 18, 2026
·
2 revisions
oCMS includes a visual menu builder for creating navigation menus.
- Drag-and-Drop Ordering — Reorder menu items with drag-and-drop
- Hierarchical Menus — Create nested menu structures with parent-child items
- Two Link Types — Link to pages, or add custom links to internal paths or external URLs
-
Header and Footer Menus — Themes render the menus whose slug is
main(header) orfooter; these two menus cannot be deleted - Per-Language Menus — Create separate menus for each language (see Multi-Language)
- Navigate to Admin > Menus
- Click New Menu to create a menu
- Set a name, a slug and a language
- Add items by selecting pages or entering a custom link
- Drag and drop to reorder items within a level; set an item's parent to nest it (the editor shows up to three levels)
- Click Save Order
Theme templates receive the menu with slug main as .Navigation (also .MainMenu) and the menu with slug footer as .FooterNav (also .FooterMenu), for the current language:
{{range .Navigation}}
<a href="{{.URL}}">{{.Title}}</a>
{{end}}
Each item has .Title, .URL, .Target, .IsActive and .Children. See Theme System for details on theme template integration.
For multi-language sites, create a separate menu for each language:
- Create "Main Menu - EN" with slug
mainand language set to English - Create "Main Menu - RU" with slug
mainand language set to Russian - Your theme loads the appropriate menu based on the current language, and falls back to the default-language menu when none exists for it
The slug is unique per language, so each translation reuses the same slug.
See Multi-Language for the full multi-language workflow.
Getting Started
Core Features
- Content Management
- Media Library
- Taxonomy
- Menu Builder
- Forms
- Multi-Language
- SEO
- Feeds
- Video Embedding
- Agent-Ready
Administration
API & Integrations
Security
Theme Development
Module Development
Built-in Modules
- Module: Sentinel
- Module: Developer
- Module: DB Manager
- Module: Migrator
- Module: Informer
- Module: Demo Mode
- Module: Internal Analytics
- Module: External Analytics
- Module: Privacy
- Module: Embed
- Module: MCP Server
Deployment