{"action":"opened","issue":{"url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/2134","repository_url":"https://api.github.com/repos/backdrop/backdrop-issues","labels_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/2134/labels{/name}","comments_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/2134/comments","events_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/2134/events","html_url":"https://github.com/backdrop/backdrop-issues/issues/2134","id":174965966,"number":2134,"title":"Add support for \"Relationships\" to Layout Contexts","user":{"login":"quicksketch","id":100206,"avatar_url":"https://avatars.githubusercontent.com/u/100206?v=3","gravatar_id":"","url":"https://api.github.com/users/quicksketch","html_url":"https://github.com/quicksketch","followers_url":"https://api.github.com/users/quicksketch/followers","following_url":"https://api.github.com/users/quicksketch/following{/other_user}","gists_url":"https://api.github.com/users/quicksketch/gists{/gist_id}","starred_url":"https://api.github.com/users/quicksketch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quicksketch/subscriptions","organizations_url":"https://api.github.com/users/quicksketch/orgs","repos_url":"https://api.github.com/users/quicksketch/repos","events_url":"https://api.github.com/users/quicksketch/events{/privacy}","received_events_url":"https://api.github.com/users/quicksketch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-04T19:42:26Z","updated_at":"2016-09-04T19:42:26Z","closed_at":null,"body":"In many situations when working with Layouts you want or need information *related* to the primary thing being displayed. For example if you had created a layout configuration for the path `node/%`, you have the \"Node\" context available but not the \"User\" context for that content's author. This means that you can place the fields from the node as blocks, but not fields from the node author.\r\n\r\nBy adding relationship support, it would make it possible to display blocks (or use conditions) from the content being displayed but from any object in Backdrop, as long as it was related to the original piece of content in some way.\r\n\r\nThis has come up a few times in issues such as [#1815](Does it make sense to allow multiple contexts for a single layout? (plus a few more related questions) #1815) and in [the original Layout module issue #86](https://github.com/backdrop/backdrop-issues/issues/86#issuecomment-56255644) as an item that needs to be done eventually, but we hadn't yet had an issue for it."}}
{"actor":{"display_login":"quicksketch"}}