uiowa / uiowa

The base application on Acquia Cloud for the University of Iowa.
11 stars 9 forks source link

Adopt layout library to allow for providing multiple templates per content type #2378

Open pyrello opened 3 years ago

pyrello commented 3 years ago

Motivation

Layout Library - https://www.drupal.org/project/layout_library - is a module that allows for multiple layout templates to be created per content type. A user can then select that layout as the starting point for the page instead of the default layout template. Currently, the way that the module works is counterintuitive - it only allows for selecting a layout template, but not for overriding it. A solution to this is being discussed here: https://www.drupal.org/project/layout_library/issues/3082434 and a proposed patch exists. However, this patch depends on functionality that has been committed to Drupal 9.1.x and the backported patch is not currently working.

Proposed solution

mjoneill commented 3 years ago

Dentistry is planning a redesign and asked about this functionality. Tight deadline, multiple participants who will be creating pages, etc... the lead wants to know how to help avoid blank page syndrome...

@ABoston88

pyrello commented 3 years ago

I started working on a proof of concept/demo PR for the Layout Library. I could get something pushed to dev before too long to see how we might use that.

mjoneill commented 3 years ago

I started working on a proof of concept/demo PR for the Layout Library. I could get something pushed to dev before too long to see how we might use that.

Sure. We did not commit to moving this up in the prioritization queue. Just making it visible...

pyrello commented 2 years ago

Encouraged by @bspeare, I pushed up the work I did on this earlier in the year: #4155