Closed (fixed)
Project:
Panopoly
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 Nov 2012 at 17:08 UTC
Updated:
15 Feb 2013 at 19:00 UTC
Jump to comment: Most recent file
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
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1854182-panel-choice.patch | 3.33 KB | beeradb |
Comments
Comment #0.0
populist commentedAdding another requirement
Comment #1
beeradb commentedHere'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.
Comment #2
beeradb commentedComment #3
populist commentedGreat. This is now committed.
Comment #4.0
(not verified) commentedAnother requirement