{"action":"created","issue":{"url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/5662","labels_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/5662/labels{/name}","comments_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/5662/comments","events_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/5662/events","html_url":"https://github.com/OrchardCMS/Orchard/issues/5662","id":102061446,"number":5662,"title":"Ability to add widget to Layout","user":{"login":"asemandeveloper","id":13555275,"avatar_url":"https://avatars.githubusercontent.com/u/13555275?v=3","gravatar_id":"","url":"https://api.github.com/users/asemandeveloper","html_url":"https://github.com/asemandeveloper","followers_url":"https://api.github.com/users/asemandeveloper/followers","following_url":"https://api.github.com/users/asemandeveloper/following{/other_user}","gists_url":"https://api.github.com/users/asemandeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/asemandeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asemandeveloper/subscriptions","organizations_url":"https://api.github.com/users/asemandeveloper/orgs","repos_url":"https://api.github.com/users/asemandeveloper/repos","events_url":"https://api.github.com/users/asemandeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/asemandeveloper/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OrchardCMS/Orchard/labels/Layouts","name":"Layouts","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-08-20T04:51:17Z","updated_at":"2015-08-21T20:03:19Z","closed_at":null,"body":"How we can insert a widget in layout editor?"},"comment":{"url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/comments/133546367","html_url":"https://github.com/OrchardCMS/Orchard/issues/5662#issuecomment-133546367","issue_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/5662","id":133546367,"user":{"login":"bleroy","id":1165609,"avatar_url":"https://avatars.githubusercontent.com/u/1165609?v=3","gravatar_id":"","url":"https://api.github.com/users/bleroy","html_url":"https://github.com/bleroy","followers_url":"https://api.github.com/users/bleroy/followers","following_url":"https://api.github.com/users/bleroy/following{/other_user}","gists_url":"https://api.github.com/users/bleroy/gists{/gist_id}","starred_url":"https://api.github.com/users/bleroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleroy/subscriptions","organizations_url":"https://api.github.com/users/bleroy/orgs","repos_url":"https://api.github.com/users/bleroy/repos","events_url":"https://api.github.com/users/bleroy/events{/privacy}","received_events_url":"https://api.github.com/users/bleroy/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T20:03:19Z","updated_at":"2015-08-21T20:03:19Z","body":"I was more thinking about scenario no. 2: creating a completely new element that happens to be a widget. For no.1, one thing I suggested before is to make it possible for a container to be \"promoted\" to become a zone. Essentially, give a container a zone name, and widgets can target it. This has the advantage that layouts can replace almost everything that used to require new layout templates in the theme."}}