{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/8603","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/8603/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/8603/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/8603/events","html_url":"https://github.com/joomla/joomla-cms/pull/8603","id":120635193,"number":8603,"title":"added componentlayout for Article Single Item","user":{"login":"shamsbd71","id":1936565,"avatar_url":"https://avatars.githubusercontent.com/u/1936565?v=3","gravatar_id":"","url":"https://api.github.com/users/shamsbd71","html_url":"https://github.com/shamsbd71","followers_url":"https://api.github.com/users/shamsbd71/followers","following_url":"https://api.github.com/users/shamsbd71/following{/other_user}","gists_url":"https://api.github.com/users/shamsbd71/gists{/gist_id}","starred_url":"https://api.github.com/users/shamsbd71/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shamsbd71/subscriptions","organizations_url":"https://api.github.com/users/shamsbd71/orgs","repos_url":"https://api.github.com/users/shamsbd71/repos","events_url":"https://api.github.com/users/shamsbd71/events{/privacy}","received_events_url":"https://api.github.com/users/shamsbd71/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-06T13:37:21Z","updated_at":"2015-12-06T21:14:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/8603","html_url":"https://github.com/joomla/joomla-cms/pull/8603","diff_url":"https://github.com/joomla/joomla-cms/pull/8603.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/8603.patch"},"body":"### Description \r\nWhen we create any new Joomla! Menu with : Articles => Single Article, we cant set the layout for it. It will load always default.php \r\n\r\n#### Before\r\n![article_before](https://cloud.githubusercontent.com/assets/1936565/11613621/c890eaaa-9c51-11e5-8faf-30a976583bd8.png)\r\n\r\n\r\n### Desired Output\r\nIf we add these patch, its allow to set the alternative layout for article details page. So i can see all layouts for article details page and set any one to load for specific page or menu item.\r\n\r\n#### After\r\n![article_after](https://cloud.githubusercontent.com/assets/1936565/11613622/d4c32658-9c51-11e5-9ebe-1f985ea33b52.png)\r\n\r\n\r\n### Comment\r\nThough its already been checked in view.html.php for article. "},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/162348093","html_url":"https://github.com/joomla/joomla-cms/pull/8603#issuecomment-162348093","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/8603","id":162348093,"user":{"login":"Bakual","id":1018684,"avatar_url":"https://avatars.githubusercontent.com/u/1018684?v=3","gravatar_id":"","url":"https://api.github.com/users/Bakual","html_url":"https://github.com/Bakual","followers_url":"https://api.github.com/users/Bakual/followers","following_url":"https://api.github.com/users/Bakual/following{/other_user}","gists_url":"https://api.github.com/users/Bakual/gists{/gist_id}","starred_url":"https://api.github.com/users/Bakual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bakual/subscriptions","organizations_url":"https://api.github.com/users/Bakual/orgs","repos_url":"https://api.github.com/users/Bakual/repos","events_url":"https://api.github.com/users/Bakual/events{/privacy}","received_events_url":"https://api.github.com/users/Bakual/received_events","type":"User","site_admin":false},"created_at":"2015-12-06T21:14:31Z","updated_at":"2015-12-06T21:14:31Z","body":"> Suggesting this can be overridden at menu item level!\r\n\r\nYeah, you override it when you create a menu item for a single article. Because that menu item is tied to a specific layout (\"default\" in this case).\r\nIn Joomla core every menu item you can create is specific to a layout. Because the XML file defining the menuitem is the one at the layout level.\r\nThat's why you can select between two different menuitems for the category view (blog and list) because you choose the layout for the category view with the menu item there (overriding any settings done elsewhere)."}}