I have created a panel layout for my page. I would like to have a cck field 'name' that users can change on that page.
I created a mini panel with a context 'node edit form'. Then I added content "Node edit form" name.
but when I try and see the mini panel as a block nothing appears. I also can't find where to add to my panel.
Am I building it wrong?
My 'export' is below:

$mini = new stdClass();
$mini->disabled = FALSE; /* Edit this to true to make a default mini disabled initially */
$mini->api_version = 1;
$mini->name = 'painting_status';
$mini->category = '';
$mini->admin_title = 'Painting status';
$mini->admin_description = 'sold, hold, none';
$mini->requiredcontexts = array(
  0 => array(
    'identifier' => 'Node edit form',
    'keyword' => 'node_edit',
    'name' => 'node_edit_form',
    'nid' => '',
    'id' => 1,
  ),
);
$mini->contexts = array();
$mini->relationships = array(
  0 => array(
    'identifier' => 'Node edit form from node',
    'keyword' => 'node_form',
    'name' => 'node_edit_form_from_node',
    'context' => 'requiredcontext_node_edit_form_1',
    'id' => 1,
  ),
);
$display = new panels_display();
$display->layout = 'flexible';
$display->layout_settings = array();
$display->panel_settings = array(
  'style_settings' => array(
    'default' => NULL,
    'center' => NULL,
  ),
);
$display->cache = array();
$display->title = '';
$display->content = array();
$display->panels = array();
  $pane = new stdClass();
  $pane->pid = 'new-1';
  $pane->panel = 'center';
  $pane->type = 'entity_field';
  $pane->subtype = 'node:field_content_status';
  $pane->shown = TRUE;
  $pane->access = array();
  $pane->configuration = array(
    'label' => 'title',
    'formatter' => 'taxonomy_term_reference_link',
    'delta_limit' => '0',
    'delta_offset' => '0',
    'delta_reversed' => 0,
    'formatter_settings' => array(),
    'context' => 'requiredcontext_node_edit_form_1',
    'override_title' => 0,
    'override_title_text' => '',
  );
  $pane->cache = array();
  $pane->style = array(
    'settings' => NULL,
  );
  $pane->css = array();
  $pane->extras = array();
  $pane->position = 0;
  $pane->locks = array();
  $display->content['new-1'] = $pane;
  $display->panels['center'][0] = 'new-1';
$display->hide_title = PANELS_TITLE_FIXED;
$display->title_pane = '0';
$mini->display = $display;

thanks

Comments

damienmckenna’s picture

Issue summary: View changes
japerry’s picture

Status: Active » Closed (outdated)

Drupal 7 is no longer supported, closing.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.