{"action":"created","issue":{"url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1886","repository_url":"https://api.github.com/repos/backdrop/backdrop-issues","labels_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1886/labels{/name}","comments_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1886/comments","events_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1886/events","html_url":"https://github.com/backdrop/backdrop-issues/issues/1886","id":155394289,"number":1886,"title":"[UX] Layout UI: Allow blocks to be re-used in other layouts/regions.","user":{"login":"BWPanda","id":2385329,"avatar_url":"https://avatars.githubusercontent.com/u/2385329?v=3","gravatar_id":"","url":"https://api.github.com/users/BWPanda","html_url":"https://github.com/BWPanda","followers_url":"https://api.github.com/users/BWPanda/followers","following_url":"https://api.github.com/users/BWPanda/following{/other_user}","gists_url":"https://api.github.com/users/BWPanda/gists{/gist_id}","starred_url":"https://api.github.com/users/BWPanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BWPanda/subscriptions","organizations_url":"https://api.github.com/users/BWPanda/orgs","repos_url":"https://api.github.com/users/BWPanda/repos","events_url":"https://api.github.com/users/BWPanda/events{/privacy}","received_events_url":"https://api.github.com/users/BWPanda/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/backdrop/backdrop-issues/labels/status%20-%20needs%20feedback","name":"status - needs feedback","color":"fef2c0"},{"url":"https://api.github.com/repos/backdrop/backdrop-issues/labels/type%20-%20feature%20request","name":"type - feature request","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2016-05-18T00:46:21Z","updated_at":"2016-09-26T15:37:09Z","closed_at":null,"body":"I have the two default layouts on my BD site (Default and Default Administrative), and I've also created a new layout specifically for the frontpage (Front). I just noticed the menu in the header and wanted to remove it, so went to the default layout, edited the Header block and removed the menu. Then I refreshed and noticed the menu still there. Then I realised I had a separate layout for the frontpage!, so went and did the same thing there. That's when I thought it'd be handy to have the option to re-use regions from other layouts...\r\n\r\nFor example, my Front layout has exactly the same header and footer as my Default layout, it's just the Content that's different (and the template). But I currently have to make any changes to the header and footer to two different layouts (and I can only imagine the hassle others have with even more layouts).\r\n\r\nSo, I propose new functionality something along these lines:\r\n\r\n1. Create a new layout (Front in my case)\r\n2. Remove the existing blocks copied from the Default layout (they're handy to start with, but not if something changes later and I have to edit them all)\r\n3. Add a new 'Symlink' block (name needs discussion)\r\n4. This block's configuration will have the option to display an entire region from another layout (e.g. Header from Default) or display a specific block from a region in another layout (e.g. Header Block from Header in Default)\r\n5. If Entire Region is chosen, when this block is rendered it'll display all blocks from the chosen region and layout\r\n6. If Specific Block is chosen, when this block is rendered it'll display the specific block from the chosen region and layout\r\n\r\nThe benefit of this is that if changes are made to the header block in the Default layout, those changes will automatically be reflected anywhere the new Symlink block is used and where it links to the Default layout's Header region, or Header Block in the Header region.\r\n\r\nI use the name 'Symlink' block to help you understand what I mean by this block's intended functionality - similar to that of a symlink in a file system.\r\n\r\nI think the use-cases for this are endless and quite powerful, and that it'll make it much easier to create and manage multiple layouts.\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/comments/249606991","html_url":"https://github.com/backdrop/backdrop-issues/issues/1886#issuecomment-249606991","issue_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1886","id":249606991,"user":{"login":"jenlampton","id":397895,"avatar_url":"https://avatars.githubusercontent.com/u/397895?v=3","gravatar_id":"","url":"https://api.github.com/users/jenlampton","html_url":"https://github.com/jenlampton","followers_url":"https://api.github.com/users/jenlampton/followers","following_url":"https://api.github.com/users/jenlampton/following{/other_user}","gists_url":"https://api.github.com/users/jenlampton/gists{/gist_id}","starred_url":"https://api.github.com/users/jenlampton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenlampton/subscriptions","organizations_url":"https://api.github.com/users/jenlampton/orgs","repos_url":"https://api.github.com/users/jenlampton/repos","events_url":"https://api.github.com/users/jenlampton/events{/privacy}","received_events_url":"https://api.github.com/users/jenlampton/received_events","type":"User","site_admin":false},"created_at":"2016-09-26T15:37:08Z","updated_at":"2016-09-26T15:37:08Z","body":"Visibility conditions may depend on contexts that are not present on all\nlayouts...\n\nOn Sep 26, 2016 8:39 AM, \"docwilmot\" <notifications@github.com> wrote:\n\nI think I understood all that @klonos <https://github.com/klonos>. Question\nwas actually not answered though. What would the sync'd blocks share: only\nblock settings (in the example above block settings would be \"Menu style\nand \"Maximum depth\") or share everything (settings, as just described,\n*plus* \"Style settings\" and \"Visibility conditions\"). It would make a\ndifference in the coding.\n\n—\nYou are receiving this because you were mentioned.\nReply to this email directly, view it on GitHub\n<https://github.com/backdrop/backdrop-issues/issues/1886#issuecomment-249589244>,\nor mute the thread\n<https://github.com/notifications/unsubscribe-auth/AAYSRyRcUK3qIQnOguLaKr8fxBolXw2Jks5qt9kagaJpZM4Ig1jT>\n.\n"}}
{"actor":{"display_login":"jenlampton"}}