Closed (won't fix)
Project:
Panels
Version:
7.x-3.0-alpha3
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Oct 2011 at 12:26 UTC
Updated:
21 Oct 2011 at 13:26 UTC
Hello,
When I create a new panel node, the first step is to choose a layout, and then the node_form is displayed.
As I submit the node_form, the chosen layout has not been saved.
I tried to solve the problem swiflty with this :
function mymodule_form_alter(&$form, &$form_state, $form_id)
{
if ($form_id == 'panel_node_form') {
$form['panels_node']['layout']['#type'] = 'hidden'; // instead of 'value'
}
}
But does anyone have a better solution ?
Is it something to be corrected into Panels, or something I would have done badly to configure it?
Thanks for your help !
Comments
Comment #1
Letharion commentedThe "Panel Nodes" part of Panels is deprecated in favor of the new Panelizer project which allows you to attach panels to any node.
I'm closing most issues related to the "Panel nodes" component in order to clear up the issue queue. Closing the issue with "won't fix" without further discussion may seem drastic, but the issue queue is quite overloaded. If you feel that an issue is still relevant, please just re-open it.
Comment #2
Teastwood commentedNo problem, if there's a better upcoming module, I won't complain !
And as it is in development release only at this time, I have my quickly-patched solution in the meantime.
Thank you !
Comment #3
Letharion commented@Leela I'm glad things are working for you, but you re-opened the issue again? I'm guessing it wasn't your intention.
For your information, I'm currently working on an upgrade path from Panel Nodes to Panelizer.