Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Layouts created after a node got created don't show in the list of possible layouts to change to through the IPE.
Proposed resolution
Try to fix a todo from Panels creator MerlinOfChaos from 2012, committed with #1249336: Allows Panels IPE to Change Layout.
Remaining tasks
Review.
User interface changes
None.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#2 | ipe_change_layout_allowed_layouts-2923035-2.patch | 1.74 KB | PieterDC |
Comments
Comment #2
PieterDCAt first this sounded and still sounds like a caching issue. But the patch from #2259957: Let other modules filter the available layouts in panels_ipe didn't help.
My colleague @michel.g created a patch that fixes our use cases; several panelized node types and some panelized custom entity types.
I've got a feeling this code can be improved upon, but we don't have more time for it now. At least, contributing the patch ...