Commit a9c2a9dd authored by Jonathan Hunt's avatar Jonathan Hunt

#9 Update ClimbNZ Guide to 7.x-1.0-beta1 changing Guides page to Bootstrap grid.

parent 6c6550b5
......@@ -2,7 +2,7 @@ name = ClimbNZ Guide
description = Guide content type, listing of Guides
core = 7.x
package = ClimbNZ
version = 7.x-1.0-alpha3
version = 7.x-1.0-beta1
dependencies[] = context
dependencies[] = date
dependencies[] = features
......
......@@ -135,8 +135,33 @@ function climbnz_guide_views_default_views() {
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['exposed_form']['type'] = 'basic';
$handler->display->display_options['pager']['type'] = 'none';
$handler->display->display_options['style_plugin'] = 'default';
$handler->display->display_options['style_plugin'] = 'views_bootstrap_grid_plugin_style';
$handler->display->display_options['style_options']['columns_horizontal'] = '2';
$handler->display->display_options['style_options']['columns_vertical'] = '4';
$handler->display->display_options['style_options']['columns_xs'] = '12';
$handler->display->display_options['style_options']['columns_sm'] = '6';
$handler->display->display_options['style_options']['columns_md'] = '6';
$handler->display->display_options['style_options']['columns_lg'] = '6';
$handler->display->display_options['row_plugin'] = 'fields';
/* Field: Content: Link */
$handler->display->display_options['fields']['field_link']['id'] = 'field_link';
$handler->display->display_options['fields']['field_link']['table'] = 'field_data_field_link';
$handler->display->display_options['fields']['field_link']['field'] = 'field_link';
$handler->display->display_options['fields']['field_link']['label'] = '';
$handler->display->display_options['fields']['field_link']['exclude'] = TRUE;
$handler->display->display_options['fields']['field_link']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_link']['click_sort_column'] = 'url';
/* Field: Content: Cover */
$handler->display->display_options['fields']['field_cover']['id'] = 'field_cover';
$handler->display->display_options['fields']['field_cover']['table'] = 'field_data_field_cover';
$handler->display->display_options['fields']['field_cover']['field'] = 'field_cover';
$handler->display->display_options['fields']['field_cover']['label'] = '';
$handler->display->display_options['fields']['field_cover']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_cover']['click_sort_column'] = 'fid';
$handler->display->display_options['fields']['field_cover']['settings'] = array(
'image_style' => 'medium',
'image_link' => 'content',
);
/* Field: Content: Title */
$handler->display->display_options['fields']['title']['id'] = 'title';
$handler->display->display_options['fields']['title']['table'] = 'node';
......@@ -159,24 +184,6 @@ function climbnz_guide_views_default_views() {
'multiple_to' => '',
'show_remaining_days' => 0,
);
/* Field: Content: Cover */
$handler->display->display_options['fields']['field_cover']['id'] = 'field_cover';
$handler->display->display_options['fields']['field_cover']['table'] = 'field_data_field_cover';
$handler->display->display_options['fields']['field_cover']['field'] = 'field_cover';
$handler->display->display_options['fields']['field_cover']['label'] = '';
$handler->display->display_options['fields']['field_cover']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_cover']['click_sort_column'] = 'fid';
$handler->display->display_options['fields']['field_cover']['settings'] = array(
'image_style' => 'medium',
'image_link' => 'content',
);
/* Field: Content: Link */
$handler->display->display_options['fields']['field_link']['id'] = 'field_link';
$handler->display->display_options['fields']['field_link']['table'] = 'field_data_field_link';
$handler->display->display_options['fields']['field_link']['field'] = 'field_link';
$handler->display->display_options['fields']['field_link']['label'] = '';
$handler->display->display_options['fields']['field_link']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_link']['click_sort_column'] = 'url';
/* Sort criterion: Content: Title */
$handler->display->display_options['sorts']['title']['id'] = 'title';
$handler->display->display_options['sorts']['title']['table'] = 'node';
......
......@@ -14,6 +14,9 @@
.view-guides .views-field.views-field-title .field-content::after {
content: ",";
}
.view-guides .row {
margin-bottom: 15px;
}
/* Place page */
.node-type-place .field-name-field-guide .node-guide header {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment