Meeting Minutes of Layout Discussion at Drupal Dev Days Szeged

Events happening in the community are now at Drupal community events on www.drupal.org.
schnitzel's picture

At Drupal Dev Days we had a discussion about Layouts in Drupal 8.

Attendees:
- Michael Schmid (Schnitzel) Initiator of Discussion, works at Amazee Labs, builds big websites, uses Panels & Panelizer
- Bram Goffings (aspilicious) Maintainer of Display Suite
- Jesse Beach (jessebeach) Working at OCTO, Involved in Spark & Scotch D8
- Wim Leers (Wim Leers) Working at OCTO, Involved in Spark & Scotch D8
- Fredrik Lassen (frega) Works for Wunderkraut, they build big websites and uses Panels & Panelizer
- Andreas Sahle (pixelmord) Works for Wunderkraut, they build big websites and uses Panels & Panelizer
- Josef Dabernig (dasjo) Made presentations about D7 Layout Modules in Szeged and survey here: https://groups.drupal.org/node/415163
- Klaus Purer (klausi) Maintainer for Rules which will need Context API, could maybe help for Context Injection in Layout Module

Topic:
Schnitzel building whole multilingual company page on Drupal 8 and fully missing any layout module. Like Panels for Landing pages but also Layouts for ViewModes (like Panelizer).
Missing Panelizer was replaced with using templates and preprocessors. But only workaround for missing Panels was Views Pages with included Views in View-Header and -Footer.

Possible replacement for Panelizer: DisplaySuite, but not powerfull enough, as no context injection & visibility settings for Fields.
aspilicious: DisplaySuite for D8 will stay with the functionality as it is. If another contrib module builds additional functionality around it (like context & visibility), he would be fine with it. Module that can do something like that for D7: https://drupal.org/sandbox/stooit/2196695

Port of D8 for Panels:
No progress yet, will be a huge effort, also not sure if the right way to just port 1:1.

Scotch Initiative for D8:
Almost dead? Moved to D9
Issue: https://drupal.org/node/1818142
Layout Module which was part of Spark: https://drupal.org/project/layout (5 months no commit). Was in Core once but then removed: https://drupal.org/node/2053879
Reverted Change Notice: https://drupal.org/node/1813372
Drupal 8 Blocks Everywhere Working Sandbox: https://drupal.org/sandbox/eclipsegc/1441840 (No commits since 10 months)
Page Manager for D8: https://drupal.org/sandbox/eclipsegc/2158511 (only 8 commits, latest one 4 months ago)

Rules D8: Klausi: Rules will probably provide some kind of Context API, which could be used by Layout Modules to handle context injection and visibility settings.

Outcome:
Everybody agrees, that we need something like Panels/Page Manager for D8. Nothing really happened yet & huge effort to do that.

UPDATE:
These things happened after Szeged, but for full complete of the current status for Layouts in D8:
- D8 Layout Sprint in Switzerland 11. - 15. June 2014 https://groups.drupal.org/node/423448
- New Module by tim.plunkett https://drupal.org/project/block_page which is first start to port page-manager-like to D8
- Planning BOF at DrupalCon Austin about Layouts in D8

Comments

Keen to be in on these

larowlan's picture

Keen to be in on these discussions

thanks for the write-up!

frega's picture

Hi schnitzel,

thanks for the write-up! I posted another summary based on discussions in Szeged and subsequent chats between @pixelmord and me here: https://drupal.org/node/2169319#comment-8669175.

It's great to see gathering momentum in this space; @dsnopek has started reaching out to several stakeholders - i'll point him to this post as well.

Best, Fredrik

PS. I've started some work based on old layout.module code/concepts over at https://github.com/frega/layout; it's a personal training ground for D8 APIs/patterns not striving to be a reference implementation, liberally pilfers from views & block_page and is very much WIP ...

Still in core

Crell's picture

There's still work happening in core to line up the dominos for better layouts in contrib. That's what the various HtmlFragment-related issues are all about. :-)