Commit ccf55d0f authored by l26yan's avatar l26yan
Browse files

ISTWCMS-2636 Use leaflet to display map

parent e21f2536
<?php
/**
* @file
* uw_ct_event.features.field_instance.inc
......@@ -671,9 +670,40 @@ function uw_ct_event_field_default_field_instances() {
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'location_cck',
'settings' => array(),
'type' => 'location_all',
'module' => 'leaflet',
'settings' => array(
'height' => 400,
'icon' => array(
'html' => '',
'htmlClass' => 'leaflet_map_icon',
'iconAnchor' => array(
'x' => '',
'y' => '',
),
'iconImageStyle' => '',
'iconSize' => array(
'x' => '',
'y' => '',
),
'iconType' => 'marker',
'iconUrl' => '',
'popupAnchor' => array(
'x' => '',
'y' => '',
),
'shadowAnchor' => array(
'x' => '',
'y' => '',
),
'shadowUrl' => '',
),
'leaflet_map' => 'OSM Mapnik',
'popup' => array(
'show' => 1,
'text' => '[node:field_event_location:name:0]',
),
),
'type' => 'location_cck_leaflet',
'weight' => 5,
),
'embedded' => array(
......
......@@ -84,17 +84,6 @@ function uw_ct_event_user_default_permissions() {
'module' => 'override_node_options',
);
// Exported permission: 'merge uw_event_tags terms'.
$permissions['merge uw_event_tags terms'] = array(
'name' => 'merge uw_event_tags terms',
'roles' => array(
'WCMS support' => 'WCMS support',
'administrator' => 'administrator',
'site manager' => 'site manager',
),
'module' => 'term_merge',
);
// Exported permission: 'override uw_event authored by option'.
$permissions['override uw_event authored by option'] = array(
'name' => 'override uw_event authored by option',
......
......@@ -21,6 +21,7 @@ dependencies[] = features
dependencies[] = field_group
dependencies[] = file
dependencies[] = image
dependencies[] = leaflet
dependencies[] = link
dependencies[] = location
dependencies[] = location_cck
......@@ -38,11 +39,11 @@ dependencies[] = services_api_key_auth
dependencies[] = services_views
dependencies[] = strongarm
dependencies[] = taxonomy
dependencies[] = term_merge
dependencies[] = term_reference_tree
dependencies[] = text
dependencies[] = title
dependencies[] = uw_ct_web_page
dependencies[] = uw_gmap_config
dependencies[] = uw_roles_fdsu
dependencies[] = uw_value_lists
dependencies[] = uw_vocab_audience
......
<?php
/**
* @file
* uw_ct_event.strongarm.inc
......@@ -97,6 +96,12 @@ function uw_ct_event_strongarm() {
'ical' => array(
'custom_settings' => TRUE,
),
'embedded' => array(
'custom_settings' => TRUE,
),
'diff_standard' => array(
'custom_settings' => FALSE,
),
),
'extra_fields' => array(
'form' => array(
......
Supports Markdown
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