Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WCMS
uw_ct_event
Commits
d6adc3ca
Commit
d6adc3ca
authored
Jan 25, 2019
by
Liam Morland
Browse files
Merge tag '7.x-2.30' into 7.x-2.x
parents
d0504052
cb376495
Changes
1
Show whitespace changes
Inline
Side-by-side
uw_ct_event.features.field_instance.inc
View file @
d6adc3ca
...
...
@@ -678,7 +678,18 @@ function uw_ct_event_field_default_field_instances() {
'settings'
=>
array
(
'address'
=>
array
(
'show'
=>
1
,
'text'
=>
'<div class="address-content">[node:field_event_location:name:0]<div class="steet-address">[node:field_event_location:street:0]</div><span class="locality">[node:field_event_location:city:0] [node:field_event_location:province:0] [node:field_event_location:postal_code:0]</span><div class="country-name">[node:field_event_location:country_name:0]</div></div>'
,
'text'
=>
'<div class="location vcard">
<div class="adr">
<span class="fn">[node:field_event_location:name:0]</span>
<div class="additional">[node:field_event_location:additional:0]</div>
<div class="address-content">
<div class="steet-address">[node:field_event_location:street:0]</div>
<span class="locality">[node:field_event_location:city:0]</span>, <span class="region">[node:field_event_location:province:0]</span>
<span class="postal-code">[node:field_event_location:postal_code:0]</span>
<div class="country-name">[node:field_event_location:country_name:0]</div>
</div>
</div>
</div>'
,
),
'height'
=>
300
,
'icon'
=>
array
(
...
...
@@ -696,8 +707,8 @@ function uw_ct_event_field_default_field_instances() {
'iconType'
=>
'marker'
,
'iconUrl'
=>
'/profiles/uw_base_profile/libraries/gmap_markers/university.png'
,
'popupAnchor'
=>
array
(
'x'
=>
20
,
'y'
=>
2
0
,
'x'
=>
16
,
'y'
=>
0
,
),
'shadowAnchor'
=>
array
(
'x'
=>
''
,
...
...
@@ -708,7 +719,18 @@ function uw_ct_event_field_default_field_instances() {
'leaflet_map'
=>
'OSM Mapnik'
,
'popup'
=>
array
(
'show'
=>
1
,
'text'
=>
'<div class="field-label">[node:field_event_location:name:0]</div><div class="address-content"><div class="steet-address">[node:field_event_location:street:0]</div><span class="locality">[node:field_event_location:city:0] [node:field_event_location:province:0] [node:field_event_location:postal_code:0]</span><div class="country-name">[node:field_event_location:country_name:0]</div></div>'
,
'text'
=>
'<h4>[node:field_event_location:name:0]</h4>
<div class="location vcard">
<div class="adr">
<div class="additional">[node:field_event_location:additional:0]</div>
<div class="address-content">
<div class="steet-address">[node:field_event_location:street:0]</div>
<span class="locality">[node:field_event_location:city:0]</span>, <span class="region">[node:field_event_location:province:0]</span>
<span class="postal-code">[node:field_event_location:postal_code:0]</span>
<div class="country-name">[node:field_event_location:country_name:0]</div>
</div>
</div>
</div>'
,
),
),
'type'
=>
'location_cck_leaflet'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment