Download & Extend

Field Labels not displaying in EditView table

Project:Editview
Version:5.x-0.3
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

All the fields themselves show up in a table just fine, populated with their values. But they look like a bunch of boxes without the field labels at the top. It looks very confusing. Screenshot attached. Look at the bottom of the shot.

AttachmentSize
untitled.JPG153.36 KB

Comments

#1

Have you provided labels in the view for each column?

#2

Yes there are labels for each field. I simply cloned it from the regular table view as per the instructions. The regular table view works fine.

I attached my view setting page just in case I missed something or set something up wrong.

AttachmentSize
untitled.JPG 183.25 KB

#3

Can you please attach a export of the view, thanks!

#4

  $view = new stdClass();
  $view->name = 'menu_items_edit';
  $view->description = '';
  $view->access = array (
);
  $view->view_args_php = 'if (arg(0) == \'node\' && is_numeric(arg(1))) {
    $restaurant= node_load(arg(1));
    if ($restaurant->nid) {
        return array($restaurant->nid);
    }
}';
  $view->page = FALSE;
  $view->page_title = '';
  $view->page_header = '';
  $view->page_header_format = '1';
  $view->page_footer = '';
  $view->page_footer_format = '1';
  $view->page_empty = '';
  $view->page_empty_format = '1';
  $view->page_type = 'node';
  $view->url = '';
  $view->use_pager = TRUE;
  $view->nodes_per_page = '10';
  $view->block = TRUE;
  $view->block_title = 'Menu Items';
  $view->block_header = '';
  $view->block_header_format = '1';
  $view->block_footer = '';
  $view->block_footer_format = '1';
  $view->block_empty = '';
  $view->block_empty_format = '1';
  $view->block_type = 'editview_compressed';
  $view->nodes_per_block = '100';
  $view->block_more = FALSE;
  $view->block_use_page_header = FALSE;
  $view->block_use_page_footer = FALSE;
  $view->block_use_page_empty = FALSE;
  $view->sort = array (
  );
  $view->argument = array (
    array (
      'type' => 'content: field_parent_restaurant',
      'argdefault' => '1',
      'title' => '',
      'options' => '',
      'wildcard' => '',
      'wildcard_substitution' => '',
    ),
  );
  $view->field = array (
    array (
      'tablename' => 'node',
      'field' => 'title',
      'label' => 'Name',
      'handler' => 'views_handler_field_nodelink',
      'sortable' => '1',
      'options' => 'link',
    ),
    array (
      'tablename' => 'node_data_field_calories',
      'field' => 'field_calories_value',
      'label' => 'Calories',
      'handler' => 'content_views_field_handler_group',
      'sortable' => '1',
      'options' => 'default',
    ),
    array (
      'tablename' => 'node_data_field_fat_grams',
      'field' => 'field_fat_grams_value',
      'label' => 'Fat (g)',
      'handler' => 'content_views_field_handler_group',
      'sortable' => '1',
      'options' => 'default',
    ),
    array (
      'tablename' => 'node_data_field_fiber_grams',
      'field' => 'field_fiber_grams_value',
      'label' => 'Fiber (g)',
      'handler' => 'content_views_field_handler_group',
      'sortable' => '1',
      'options' => 'default',
    ),
    array (
      'tablename' => 'node_data_field_carbs',
      'field' => 'field_carbs_value',
      'label' => 'Carbs (g)',
      'handler' => 'content_views_field_handler_group',
      'sortable' => '1',
      'options' => 'default',
    ),
    array (
      'tablename' => 'node_data_field_points',
      'field' => 'field_points_value',
      'label' => 'Points',
      'handler' => 'content_views_field_handler_group',
      'sortable' => '1',
      'options' => 'default',
    ),
  );
  $view->filter = array (
    array (
      'tablename' => 'node',
      'field' => 'type',
      'operator' => 'OR',
      'options' => '',
      'value' => array (
  0 => 'menu_item',
),
    ),
  );
  $view->exposed_filter = array (
  );
  $view->requires = array(node, node_data_field_calories, node_data_field_fat_grams, node_data_field_fiber_grams, node_data_field_carbs, node_data_field_points);
  $views[$view->name] = $view;
nobody click here