Commit f4b2fedc authored by Jonathan Hunt's avatar Jonathan Hunt

#53 Update ClimbNZ Place to 7.x-1.0-beta12 with uuid field.

parent 06a696e1
......@@ -471,7 +471,7 @@ function climbnz_place_field_default_field_instances() {
// Exported field_instance: 'node-place-field_guide'.
$field_instances['node-place-field_guide'] = array(
'bundle' => 'place',
'default_value' => array(),
'default_value' => NULL,
'deleted' => 0,
'description' => 'What guidebooks does this place appear in?',
'display' => array(
......
......@@ -2,7 +2,7 @@ name = ClimbNZ Place
description = Place content type for geographic locations
core = 7.x
package = ClimbNZ
version = 7.x-1.0-beta11
version = 7.x-1.0-beta12
dependencies[] = entityreference
dependencies[] = features
dependencies[] = file
......@@ -74,5 +74,6 @@ features[variable][] = node_options_place
features[variable][] = node_preview_place
features[variable][] = node_submitted_place
features[variable][] = pathauto_node_place_pattern
features[variable][] = xmlsitemap_settings_node_place
features[views_view][] = climbnz_places_in_place
features_exclude[dependencies][ctools] = ctools
......@@ -216,6 +216,12 @@ function climbnz_place_strongarm() {
'visible' => TRUE,
),
),
'climbnz_uuid' => array(
'default' => array(
'weight' => '20',
'visible' => TRUE,
),
),
),
),
);
......@@ -268,5 +274,15 @@ function climbnz_place_strongarm() {
$strongarm->value = '[node:nodehierarchy:parent:url:path]/[node:title]';
$export['pathauto_node_place_pattern'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'xmlsitemap_settings_node_place';
$strongarm->value = array(
'status' => '1',
'priority' => '0.8',
);
$export['xmlsitemap_settings_node_place'] = $strongarm;
return $export;
}
......@@ -48,7 +48,7 @@ function climbnz_place_views_default_views() {
$handler->display->display_options['fields']['title']['field'] = 'title';
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
/* Field: Content: Edit link */
/* Field: Content: Link to edit content */
$handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
$handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
$handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
......@@ -65,7 +65,7 @@ function climbnz_place_views_default_views() {
$handler->display->display_options['arguments']['nid']['summary']['number_of_records'] = '0';
$handler->display->display_options['arguments']['nid']['summary']['format'] = 'default_summary';
$handler->display->display_options['arguments']['nid']['summary_options']['items_per_page'] = '25';
/* Filter criterion: Content: Published */
/* Filter criterion: Content: Published status */
$handler->display->display_options['filters']['status']['id'] = 'status';
$handler->display->display_options['filters']['status']['table'] = 'node';
$handler->display->display_options['filters']['status']['field'] = 'status';
......
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