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?

CommentFileSizeAuthor
panelizer-select.patch1.11 KBJohn Morahan
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

John Morahan’s picture

D'oh - I was missing something: the "Reorder variants" tab! Still, I think it would be more useful if the selection rule worked as described.

merlinofchaos’s picture

Priority: Normal » Major

Oh 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.

merlinofchaos’s picture

Status: Needs review » Fixed

Ok, 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.