Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
The panelizer variant's admin summary says: This variant will be selected if the node being viewed is panelized. But this doesn't seem to be true - the variant is always selected, and page manager falls back to calling node_page_view() directly if the render callback doesn't return anything. So no other variants can be selected. Or am I missing something?
Comment | File | Size | Author |
---|---|---|---|
panelizer-select.patch | 1.11 KB | John Morahan | |
Comments
Comment #1
John Morahan CreditAttribution: John Morahan commentedD'oh - I was missing something: the "Reorder variants" tab! Still, I think it would be more useful if the selection rule worked as described.
Comment #2
merlinofchaos CreditAttribution: merlinofchaos commentedOh wow. Yes, that's a pretty silly oversight.
Upgrading to a higher priority.
This may be the more appropriate solution to #1290452: Make Panelizer show after the other Page Manager handlers.
Comment #3
merlinofchaos CreditAttribution: merlinofchaos commentedOk, I added some whitespace. I also did a @todo about documenting a function that someone had added.
Committed to 6.x- and 7.x branches.
IMO this was a major oversight and I feel silly for this. Now I understand a couple of other problems people had.