If you go ahead and allow multiple panel choices, all sorts of magic is possible. To support this in Panopoly we need:

-- The patch from #1790434: Panelizer panel select tab (activated with 'allow panel choice') not appearing when adding a node.
-- Updating Panopoly Admin to have the selection box show up cleanly on the admin page
-- Make sure that reverting correctly goes back to the selected default
-- Figure out the deal with "Access" options there

CommentFileSizeAuthor
#1 1854182-panel-choice.patch3.33 KBbeeradb

Comments

populist’s picture

Issue summary: View changes

Adding another requirement

beeradb’s picture

StatusFileSize
new3.33 KB

Here's a patch which takes care of having the selection box show up cleanly.

Reverting is a bit tricky. On initial node creation the node gets a panelizer_entity row with the "name" value set, which just points to the default template. Once customizations are made that entry gets deleted in favor of a panelizer_entity row which points to the DID of the customized panel. At the point the revert happens all information about which panel was originally selected is lost. We'll need to open a patch in the panelizer queue to have it track the original selection and then revert when appropriate.

beeradb’s picture

Status: Active » Needs review
populist’s picture

Status: Needs review » Fixed

Great. This is now committed.

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

Another requirement