Skip to content
Browse files

Moved increased sponsor count into cod_front_page

  • Loading branch information...
1 parent 69f2148 commit ce6c0b3bdb5f43ae42056f49b77380e4748ef8e4 @FatherShawn FatherShawn committed
Showing with 5 additions and 7 deletions.
  1. +5 −7 sites/all/modules/custom/cod_front_page/cod_front_page.views_default.inc
View
12 sites/all/modules/custom/cod_front_page/cod_front_page.views_default.inc
@@ -11,10 +11,9 @@ function cod_front_page_views_default_views() {
$view->name = 'front';
$view->description = 'Front Page Content';
$view->tag = 'front';
- $view->view_php = '';
$view->base_table = 'node';
- $view->is_cacheable = FALSE;
- $view->api_version = 2;
+ $view->core = 0;
+ $view->api_version = '2';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->override_option('sorts', array(
@@ -112,10 +111,9 @@ function cod_front_page_views_default_views() {
$view->name = 'sponsors_front_page';
$view->description = '';
$view->tag = 'sponsors front-ui';
- $view->view_php = '';
$view->base_table = 'node';
- $view->is_cacheable = FALSE;
- $view->api_version = 2;
+ $view->core = 0;
+ $view->api_version = '2';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->override_option('fields', array(
@@ -254,7 +252,7 @@ function cod_front_page_views_default_views() {
'type' => 'none',
));
$handler->override_option('title', 'Premium Sponsors');
- $handler->override_option('items_per_page', 12);
+ $handler->override_option('items_per_page', 18);
$handler->override_option('style_plugin', 'list');
$handler->override_option('style_options', array(
'grouping' => '',

0 comments on commit ce6c0b3

Please sign in to comment.
Something went wrong with that request. Please try again.