{"action":"created","comment":{"url":"https://api.github.com/repos/orocrm/documentation/pulls/comments/36066412","id":36066412,"diff_hunk":"@@ -0,0 +1,118 @@\n+Managing the Application Menu\n+=============================\n+\n+Both the Oro Platform application and the OroCRM application come with a rich user interface. Each\n+part of the application can be accessed by browsing the application using the provided navigation\n+items.\n+\n+The Oro Platform leverages the famous `KnpMenuBundle`_ to provide highly customizable menus. You\n+can add your own menu items to access your project specific interfaces or even replace existing\n+items.\n+\n+Mastering the application menu is a two-step process:\n+\n+#. :ref:`Create the new navigation items <book-navigation-create-menu-item>`\n+#. :ref:`Compose trees of navigation items <book-navigation-compose-tree>`\n+\n+The `OroNavigationBundle`_ automatically processes a YAML configuration file which is named\n+``navigation.yml`` when it is placed in the ``Resources/config`` directory of a registered bundle.\n+The menu configuration needs to be placed under the ``oro_menu_config`` tree.\n+\n+.. _book-navigation-create-menu-item:\n+\n+Creating Menu Items\n+-------------------\n+\n+You can create new navigation under the ``items`` key. Each item must be identified by a unique\n+name which acts as a key in the menu configuration:\n+\n+.. code-block:: yaml\n+    :linenos:\n+\n+    # src/Acme/DemoBundle/Resources/config/navigation.yml\n+    oro_menu_config:\n+        items:\n+            blog:\n+                label: acme_demo.menu.blog\n+                uri: '#'\n+            blog_categories:\n+                label: acme_demo.menu.blog_categories\n+                route: acme_demo.blog_categories\n+            blog_index:\n+                label: acme_demo.menu.blog_overview\n+                route: acme_demo.blog_index\n+\n+The example above defines three menu items:\n+\n+* The ``blog`` item consists of a label and the URI ``#``. This means that the item will not react\n+  on mouse clicks, but can be used as a placeholder for nested menus.\n+\n+* Both the ``blog_categories`` and the ``blog_index`` items each reference a an existing route.","path":"book/navigation.rst","position":50,"original_position":50,"commit_id":"32f90934071492ec6db298f487336a16ca89221a","original_commit_id":"32f90934071492ec6db298f487336a16ca89221a","user":{"login":"nnenasheva","id":9048914,"avatar_url":"https://avatars.githubusercontent.com/u/9048914?v=3","gravatar_id":"","url":"https://api.github.com/users/nnenasheva","html_url":"https://github.com/nnenasheva","followers_url":"https://api.github.com/users/nnenasheva/followers","following_url":"https://api.github.com/users/nnenasheva/following{/other_user}","gists_url":"https://api.github.com/users/nnenasheva/gists{/gist_id}","starred_url":"https://api.github.com/users/nnenasheva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nnenasheva/subscriptions","organizations_url":"https://api.github.com/users/nnenasheva/orgs","repos_url":"https://api.github.com/users/nnenasheva/repos","events_url":"https://api.github.com/users/nnenasheva/events{/privacy}","received_events_url":"https://api.github.com/users/nnenasheva/received_events","type":"User","site_admin":false},"body":"Should be  \r\n\r\nBoth the ``blog_categories`` and the ``blog_index`` items reference an existing route. \r\n\r\nor \r\n\r\nEach of the ``blog_categories`` and the ``blog_index`` items references an existing route.","created_at":"2015-08-03T08:53:00Z","updated_at":"2015-08-03T08:53:00Z","html_url":"https://github.com/orocrm/documentation/pull/144#discussion_r36066412","pull_request_url":"https://api.github.com/repos/orocrm/documentation/pulls/144","_links":{"self":{"href":"https://api.github.com/repos/orocrm/documentation/pulls/comments/36066412"},"html":{"href":"https://github.com/orocrm/documentation/pull/144#discussion_r36066412"},"pull_request":{"href":"https://api.github.com/repos/orocrm/documentation/pulls/144"}}},"pull_request":{"url":"https://api.github.com/repos/orocrm/documentation/pulls/144","id":36228407,"html_url":"https://github.com/orocrm/documentation/pull/144","diff_url":"https://github.com/orocrm/documentation/pull/144.diff","patch_url":"https://github.com/orocrm/documentation/pull/144.patch","issue_url":"https://api.github.com/repos/orocrm/documentation/issues/144","number":144,"state":"closed","locked":false,"title":"add documentation on how to manage menu trees","user":{"login":"xabbuh","id":1957048,"avatar_url":"https://avatars.githubusercontent.com/u/1957048?v=3","gravatar_id":"","url":"https://api.github.com/users/xabbuh","html_url":"https://github.com/xabbuh","followers_url":"https://api.github.com/users/xabbuh/followers","following_url":"https://api.github.com/users/xabbuh/following{/other_user}","gists_url":"https://api.github.com/users/xabbuh/gists{/gist_id}","starred_url":"https://api.github.com/users/xabbuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xabbuh/subscriptions","organizations_url":"https://api.github.com/users/xabbuh/orgs","repos_url":"https://api.github.com/users/xabbuh/repos","events_url":"https://api.github.com/users/xabbuh/events{/privacy}","received_events_url":"https://api.github.com/users/xabbuh/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-26T17:56:33Z","updated_at":"2015-08-03T08:53:00Z","closed_at":"2015-07-31T10:25:51Z","merged_at":null,"merge_commit_sha":"efb5e855a51c398165dd3b8feef585581662e923","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/orocrm/documentation/pulls/144/commits","review_comments_url":"https://api.github.com/repos/orocrm/documentation/pulls/144/comments","review_comment_url":"https://api.github.com/repos/orocrm/documentation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/orocrm/documentation/issues/144/comments","statuses_url":"https://api.github.com/repos/orocrm/documentation/statuses/32f90934071492ec6db298f487336a16ca89221a","head":{"label":"xabbuh:navigation","ref":"navigation","sha":"32f90934071492ec6db298f487336a16ca89221a","user":{"login":"xabbuh","id":1957048,"avatar_url":"https://avatars.githubusercontent.com/u/1957048?v=3","gravatar_id":"","url":"https://api.github.com/users/xabbuh","html_url":"https://github.com/xabbuh","followers_url":"https://api.github.com/users/xabbuh/followers","following_url":"https://api.github.com/users/xabbuh/following{/other_user}","gists_url":"https://api.github.com/users/xabbuh/gists{/gist_id}","starred_url":"https://api.github.com/users/xabbuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xabbuh/subscriptions","organizations_url":"https://api.github.com/users/xabbuh/orgs","repos_url":"https://api.github.com/users/xabbuh/repos","events_url":"https://api.github.com/users/xabbuh/events{/privacy}","received_events_url":"https://api.github.com/users/xabbuh/received_events","type":"User","site_admin":false},"repo":{"id":18205180,"name":"documentation","full_name":"xabbuh/documentation","owner":{"login":"xabbuh","id":1957048,"avatar_url":"https://avatars.githubusercontent.com/u/1957048?v=3","gravatar_id":"","url":"https://api.github.com/users/xabbuh","html_url":"https://github.com/xabbuh","followers_url":"https://api.github.com/users/xabbuh/followers","following_url":"https://api.github.com/users/xabbuh/following{/other_user}","gists_url":"https://api.github.com/users/xabbuh/gists{/gist_id}","starred_url":"https://api.github.com/users/xabbuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xabbuh/subscriptions","organizations_url":"https://api.github.com/users/xabbuh/orgs","repos_url":"https://api.github.com/users/xabbuh/repos","events_url":"https://api.github.com/users/xabbuh/events{/privacy}","received_events_url":"https://api.github.com/users/xabbuh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xabbuh/documentation","description":"The Oro Platform and OroCRM Documentation","fork":true,"url":"https://api.github.com/repos/xabbuh/documentation","forks_url":"https://api.github.com/repos/xabbuh/documentation/forks","keys_url":"https://api.github.com/repos/xabbuh/documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xabbuh/documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xabbuh/documentation/teams","hooks_url":"https://api.github.com/repos/xabbuh/documentation/hooks","issue_events_url":"https://api.github.com/repos/xabbuh/documentation/issues/events{/number}","events_url":"https://api.github.com/repos/xabbuh/documentation/events","assignees_url":"https://api.github.com/repos/xabbuh/documentation/assignees{/user}","branches_url":"https://api.github.com/repos/xabbuh/documentation/branches{/branch}","tags_url":"https://api.github.com/repos/xabbuh/documentation/tags","blobs_url":"https://api.github.com/repos/xabbuh/documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xabbuh/documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xabbuh/documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/xabbuh/documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xabbuh/documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/xabbuh/documentation/languages","stargazers_url":"https://api.github.com/repos/xabbuh/documentation/stargazers","contributors_url":"https://api.github.com/repos/xabbuh/documentation/contributors","subscribers_url":"https://api.github.com/repos/xabbuh/documentation/subscribers","subscription_url":"https://api.github.com/repos/xabbuh/documentation/subscription","commits_url":"https://api.github.com/repos/xabbuh/documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/xabbuh/documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/xabbuh/documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/xabbuh/documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/xabbuh/documentation/contents/{+path}","compare_url":"https://api.github.com/repos/xabbuh/documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xabbuh/documentation/merges","archive_url":"https://api.github.com/repos/xabbuh/documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xabbuh/documentation/downloads","issues_url":"https://api.github.com/repos/xabbuh/documentation/issues{/number}","pulls_url":"https://api.github.com/repos/xabbuh/documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/xabbuh/documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/xabbuh/documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xabbuh/documentation/labels{/name}","releases_url":"https://api.github.com/repos/xabbuh/documentation/releases{/id}","created_at":"2014-03-28T08:09:14Z","updated_at":"2014-09-19T18:47:53Z","pushed_at":"2015-08-01T10:26:36Z","git_url":"git://github.com/xabbuh/documentation.git","ssh_url":"git@github.com:xabbuh/documentation.git","clone_url":"https://github.com/xabbuh/documentation.git","svn_url":"https://github.com/xabbuh/documentation","homepage":"","size":18887,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"orocrm:master","ref":"master","sha":"8edebbb34414b6d605a38ac706f274c5f31d4996","user":{"login":"orocrm","id":4165718,"avatar_url":"https://avatars.githubusercontent.com/u/4165718?v=3","gravatar_id":"","url":"https://api.github.com/users/orocrm","html_url":"https://github.com/orocrm","followers_url":"https://api.github.com/users/orocrm/followers","following_url":"https://api.github.com/users/orocrm/following{/other_user}","gists_url":"https://api.github.com/users/orocrm/gists{/gist_id}","starred_url":"https://api.github.com/users/orocrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orocrm/subscriptions","organizations_url":"https://api.github.com/users/orocrm/orgs","repos_url":"https://api.github.com/users/orocrm/repos","events_url":"https://api.github.com/users/orocrm/events{/privacy}","received_events_url":"https://api.github.com/users/orocrm/received_events","type":"Organization","site_admin":false},"repo":{"id":16752895,"name":"documentation","full_name":"orocrm/documentation","owner":{"login":"orocrm","id":4165718,"avatar_url":"https://avatars.githubusercontent.com/u/4165718?v=3","gravatar_id":"","url":"https://api.github.com/users/orocrm","html_url":"https://github.com/orocrm","followers_url":"https://api.github.com/users/orocrm/followers","following_url":"https://api.github.com/users/orocrm/following{/other_user}","gists_url":"https://api.github.com/users/orocrm/gists{/gist_id}","starred_url":"https://api.github.com/users/orocrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orocrm/subscriptions","organizations_url":"https://api.github.com/users/orocrm/orgs","repos_url":"https://api.github.com/users/orocrm/repos","events_url":"https://api.github.com/users/orocrm/events{/privacy}","received_events_url":"https://api.github.com/users/orocrm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/orocrm/documentation","description":"The Oro Platform and OroCRM Documentation","fork":false,"url":"https://api.github.com/repos/orocrm/documentation","forks_url":"https://api.github.com/repos/orocrm/documentation/forks","keys_url":"https://api.github.com/repos/orocrm/documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/orocrm/documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/orocrm/documentation/teams","hooks_url":"https://api.github.com/repos/orocrm/documentation/hooks","issue_events_url":"https://api.github.com/repos/orocrm/documentation/issues/events{/number}","events_url":"https://api.github.com/repos/orocrm/documentation/events","assignees_url":"https://api.github.com/repos/orocrm/documentation/assignees{/user}","branches_url":"https://api.github.com/repos/orocrm/documentation/branches{/branch}","tags_url":"https://api.github.com/repos/orocrm/documentation/tags","blobs_url":"https://api.github.com/repos/orocrm/documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/orocrm/documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/orocrm/documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/orocrm/documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/orocrm/documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/orocrm/documentation/languages","stargazers_url":"https://api.github.com/repos/orocrm/documentation/stargazers","contributors_url":"https://api.github.com/repos/orocrm/documentation/contributors","subscribers_url":"https://api.github.com/repos/orocrm/documentation/subscribers","subscription_url":"https://api.github.com/repos/orocrm/documentation/subscription","commits_url":"https://api.github.com/repos/orocrm/documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/orocrm/documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/orocrm/documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/orocrm/documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/orocrm/documentation/contents/{+path}","compare_url":"https://api.github.com/repos/orocrm/documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/orocrm/documentation/merges","archive_url":"https://api.github.com/repos/orocrm/documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/orocrm/documentation/downloads","issues_url":"https://api.github.com/repos/orocrm/documentation/issues{/number}","pulls_url":"https://api.github.com/repos/orocrm/documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/orocrm/documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/orocrm/documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/orocrm/documentation/labels{/name}","releases_url":"https://api.github.com/repos/orocrm/documentation/releases{/id}","created_at":"2014-02-12T02:08:30Z","updated_at":"2015-07-29T21:10:36Z","pushed_at":"2015-08-03T08:46:24Z","git_url":"git://github.com/orocrm/documentation.git","ssh_url":"git@github.com:orocrm/documentation.git","clone_url":"https://github.com/orocrm/documentation.git","svn_url":"https://github.com/orocrm/documentation","homepage":"","size":25179,"stargazers_count":20,"watchers_count":20,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"open_issues_count":4,"forks":29,"open_issues":4,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/orocrm/documentation/pulls/144"},"html":{"href":"https://github.com/orocrm/documentation/pull/144"},"issue":{"href":"https://api.github.com/repos/orocrm/documentation/issues/144"},"comments":{"href":"https://api.github.com/repos/orocrm/documentation/issues/144/comments"},"review_comments":{"href":"https://api.github.com/repos/orocrm/documentation/pulls/144/comments"},"review_comment":{"href":"https://api.github.com/repos/orocrm/documentation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/orocrm/documentation/pulls/144/commits"},"statuses":{"href":"https://api.github.com/repos/orocrm/documentation/statuses/32f90934071492ec6db298f487336a16ca89221a"}}}}