A new section joins the header menu
The new "Yoga" section appears in the menu.
Life cycle: Maintain, example 26 of 35. Worked out on the Fit & Healthy site of Exponential 6.0.15+.
Contents
In the Layouts editor
Not in the Layouts editor; give the section its layout by a mapping if needed.
With content and settings
- Publish the page; note
Node <id>;./console exp:ini add menu.ini/SiteInfo/MainMenuID[] <id> siteaccess:site;./console exp:cache clear --tag=template,content.
With a tree-driven menu
- If the header uses the tree-driven override (A header menu that follows the tree), publishing the section is enough.
Which to choose
Fixed list: two commands. Tree-driven menu: nothing.
Check
- "Yoga" is in the menu.
Related pages
- Add a header menu item
- Maintain examples, every page
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.