From b4777420e5f89f98fd5bbf7a29715a6109ce21e3 Mon Sep 17 00:00:00 2001 From: Shea McKinney Date: Fri, 22 Aug 2014 11:48:18 -0700 Subject: [PATCH] Added row to manage view --- .../stanford_news_views.views_default.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/stanford_news_views/stanford_news_views.views_default.inc b/modules/stanford_news_views/stanford_news_views.views_default.inc index 4dfebf9..8c96acd 100644 --- a/modules/stanford_news_views/stanford_news_views.views_default.inc +++ b/modules/stanford_news_views/stanford_news_views.views_default.inc @@ -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'; @@ -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';