Skip to content

Commit

Permalink
add navigation node to doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Mykhailo Kudelia committed Dec 2, 2016
1 parent 7d60609 commit cb98a58
Showing 1 changed file with 20 additions and 19 deletions.
39 changes: 20 additions & 19 deletions cookbook/how_to_create_and_customize_application_menu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cb98a58

Please sign in to comment.