From cb98a589b212e8dda05eda0aa1110379614d7069 Mon Sep 17 00:00:00 2001 From: Mykhailo Kudelia Date: Fri, 2 Dec 2016 16:09:41 +0200 Subject: [PATCH] add navigation node to doc --- ..._create_and_customize_application_menu.rst | 39 ++++++++++--------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/cookbook/how_to_create_and_customize_application_menu.rst b/cookbook/how_to_create_and_customize_application_menu.rst index 6e043e61d..e7b5ae7cd 100644 --- a/cookbook/how_to_create_and_customize_application_menu.rst +++ b/cookbook/how_to_create_and_customize_application_menu.rst @@ -83,25 +83,26 @@ Now we need to create a ``navigation.yml`` file with the following content: :linenos: # src/Acme/Bundle/NewBundle/Resources/config/oro/navigation.yml - menu_config: - items: - acme_tab: - label: Acme label - uri: '#' - extras: - position: 300 - acme_tab_link: - label: Acme link label - route: acme_link - tree: - application_menu: - children: - acme_tab: - children: - acme_tab_link: ~ - - titles: - acme_link: My link page title + navigation: + menu_config: + items: + acme_tab: + label: Acme label + uri: '#' + extras: + position: 300 + acme_tab_link: + label: Acme link label + route: acme_link + tree: + application_menu: + children: + acme_tab: + children: + acme_tab_link: ~ + + titles: + acme_link: My link page title Then you have to reload navigation data and clear cache: