Skip to content

Commit

Permalink
Added row to manage view
Browse files Browse the repository at this point in the history
  • Loading branch information
sherakama committed Aug 22, 2014
1 parent 8bfe409 commit b477742
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,12 @@ function stanford_news_views_views_default_views() {
'forums' => 0,
'tags' => 0,
);
/* Field: Global: View result counter */
$handler->display->display_options['fields']['counter']['id'] = 'counter';
$handler->display->display_options['fields']['counter']['table'] = 'views';
$handler->display->display_options['fields']['counter']['field'] = 'counter';
$handler->display->display_options['fields']['counter']['label'] = 'Row';
$handler->display->display_options['fields']['counter']['counter_start'] = '1';
/* Field: Bulk operations: Content */
$handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
$handler->display->display_options['fields']['views_bulk_operations']['table'] = 'node';
Expand Down Expand Up @@ -292,7 +298,7 @@ function stanford_news_views_views_default_views() {
'postpone_processing' => 0,
),
);
/* Field: Field: Image */
/* Field: Field: Featured Image */
$handler->display->display_options['fields']['field_s_image_info']['id'] = 'field_s_image_info';
$handler->display->display_options['fields']['field_s_image_info']['table'] = 'field_data_field_s_image_info';
$handler->display->display_options['fields']['field_s_image_info']['field'] = 'field_s_image_info';
Expand Down

0 comments on commit b477742

Please sign in to comment.