Download & Extend

Support Allow Panel Choice for Panelizer

Project:Panopoly
Version:7.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

Comments

#1

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.

AttachmentSize
1854182-panel-choice.patch 3.33 KB

#2

Status:active» needs review

#3

Status:needs review» fixed

Great. This is now committed.

#4

Status:fixed» closed (fixed)

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