Hello,
at present I'm using the map extension V. 1.36 on my website as plugins 'simple user map' and 'fe user map' and everything is working fine.
After updating to V.2.0 in a test environment I got the following problems, after having added the static template 'wec map api" (in main template and extension template as well) though.
'Simple User Map':
No map appears (no error message). (Tried it with address in flexform and in TS)
TS:
plugin.tx_wecmap_pi1 {
height = 580
width = 450
controls.mapControlSize = 1
controls.showOverviewMap = 1
controls.showMapType = 1
controls.showScale = 1
zoomLevel = 13
marker {
title = TEXT
title.field = title
title.wrap = <h1>|</h1>
description = TEXT
description.field = description
description.wrap = <p>|</p>
address = COA
address {
10 = TEXT
10.field = street
10.wrap = | <br/>
20 = TEXT
20.field = zip
20.wrap = |
30 = TEXT
30.field = city
30.wrap = |<br/>
}
address.wrap = <p>|</p>
}
sidebar < tx_wecmap_api.sidebar
directions < tx_wecmap_api.directions
sidebarItem < tx_wecmap_api.sidebarItem
addressForm < tx_wecmap_api.addressForm
output < tx_wecmap_api.output
_CSS_DEFAULT_STYLE < tx_wecmap_api._CSS_DEFAULT_STYLE
markers.1 {
title = "Tum Bur"
description = Ztr-Stammtisch-Lokal
street = Tippelstrasse 10
city = Hattingen
zip = 44795
}
markers.2 {
title =
description =
}
}
-------------------------------------------------------------------------------------------
'FE User Map':
Map appears, but without any marker and with the following error messages:
Warning: Invalid argument supplied for foreach() in /www/htdocs/ftest/typo3conf/ext/wec_map/class.tx_wecmap_map.php on line 223
Warning: Invalid argument supplied for foreach() in /www/htdocs/ftest/typo3conf/ext/wec_map/class.tx_wecmap_markergroup.php on line 81
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/ftest/typo3conf/ext/wec_map/class.tx_wecmap_map.php:223) in /www/htdocs/ftest/typo3/sysext/cms/tslib/class.tslib_fe.php on line 2907
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/ftest/typo3conf/ext/wec_map/class.tx_wecmap_map.php:223) in /www/htdocs/ftest/typo3/sysext/cms/tslib/class.tslib_fe.php on line 2920
TS:
plugin.tx_wecmap_pi2 {
height = 580
width = 700
controls.mapControlSize = 1
controls.showOverviewMap = 1
controls.showMapType = 1
controls.showScale = 1
#userGroups = everyone
pid = 55
zoomLevel = 5
centerLat = 51.482112
centerLong = 7.221214
# groups.everyone {
# zoom.min = 5
# zoom.max = 13
# }
marker {
title = TEXT
title.field = username
title.wrap = <font size=2><b>|</b></font><br><br>
description = COA
description {
10 = COA
10 {
10 = TEXT
10.field = name
10.wrap = <font style="font-size:13px;">| </font><br/>
20 = TEXT
20.field = zip
20.wrap = <font style="font-size:13px;">| </font>
30 = TEXT
30.field = city
30.wrap = <font style="font-size:13px;">| </font><br/>
40 = TEXT
40.field = country
40.wrap = <font style="font-size:13px;">| </font><br/><br/>
}
}
}
defaulttitle < tx_wecmap_api.defaulttitle
defaultdescription < tx_wecmap_api.defaultdescription
homeicon < tx_wecmap_api.homeicon
sidebar < tx_wecmap_api.sidebar
directions < tx_wecmap_api.directions
sidebarItem < tx_wecmap_api.sidebarItem
addressForm < tx_wecmap_api.addressForm
output < tx_wecmap_api.output
_CSS_DEFAULT_STYLE < tx_wecmap_api._CSS_DEFAULT_STYLE
}
-------------------------------------------------------------------------------------------
I tried it also by adding the only fe user group that exists (everyone), but the result is the same.
Can anybody tell me what's going wrong? Any help is appreciated. Thanks in advance.
Frank
at present I'm using the map extension V. 1.36 on my website as plugins 'simple user map' and 'fe user map' and everything is working fine.
After updating to V.2.0 in a test environment I got the following problems, after having added the static template 'wec map api" (in main template and extension template as well) though.
'Simple User Map':
No map appears (no error message). (Tried it with address in flexform and in TS)
TS:
plugin.tx_wecmap_pi1 {
height = 580
width = 450
controls.mapControlSize = 1
controls.showOverviewMap = 1
controls.showMapType = 1
controls.showScale = 1
zoomLevel = 13
marker {
title = TEXT
title.field = title
title.wrap = <h1>|</h1>
description = TEXT
description.field = description
description.wrap = <p>|</p>
address = COA
address {
10 = TEXT
10.field = street
10.wrap = | <br/>
20 = TEXT
20.field = zip
20.wrap = |
30 = TEXT
30.field = city
30.wrap = |<br/>
}
address.wrap = <p>|</p>
}
sidebar < tx_wecmap_api.sidebar
directions < tx_wecmap_api.directions
sidebarItem < tx_wecmap_api.sidebarItem
addressForm < tx_wecmap_api.addressForm
output < tx_wecmap_api.output
_CSS_DEFAULT_STYLE < tx_wecmap_api._CSS_DEFAULT_STYLE
markers.1 {
title = "Tum Bur"
description = Ztr-Stammtisch-Lokal
street = Tippelstrasse 10
city = Hattingen
zip = 44795
}
markers.2 {
title =
description =
}
}
-------------------------------------------------------------------------------------------
'FE User Map':
Map appears, but without any marker and with the following error messages:
Warning: Invalid argument supplied for foreach() in /www/htdocs/ftest/typo3conf/ext/wec_map/class.tx_wecmap_map.php on line 223
Warning: Invalid argument supplied for foreach() in /www/htdocs/ftest/typo3conf/ext/wec_map/class.tx_wecmap_markergroup.php on line 81
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/ftest/typo3conf/ext/wec_map/class.tx_wecmap_map.php:223) in /www/htdocs/ftest/typo3/sysext/cms/tslib/class.tslib_fe.php on line 2907
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/ftest/typo3conf/ext/wec_map/class.tx_wecmap_map.php:223) in /www/htdocs/ftest/typo3/sysext/cms/tslib/class.tslib_fe.php on line 2920
TS:
plugin.tx_wecmap_pi2 {
height = 580
width = 700
controls.mapControlSize = 1
controls.showOverviewMap = 1
controls.showMapType = 1
controls.showScale = 1
#userGroups = everyone
pid = 55
zoomLevel = 5
centerLat = 51.482112
centerLong = 7.221214
# groups.everyone {
# zoom.min = 5
# zoom.max = 13
# }
marker {
title = TEXT
title.field = username
title.wrap = <font size=2><b>|</b></font><br><br>
description = COA
description {
10 = COA
10 {
10 = TEXT
10.field = name
10.wrap = <font style="font-size:13px;">| </font><br/>
20 = TEXT
20.field = zip
20.wrap = <font style="font-size:13px;">| </font>
30 = TEXT
30.field = city
30.wrap = <font style="font-size:13px;">| </font><br/>
40 = TEXT
40.field = country
40.wrap = <font style="font-size:13px;">| </font><br/><br/>
}
}
}
defaulttitle < tx_wecmap_api.defaulttitle
defaultdescription < tx_wecmap_api.defaultdescription
homeicon < tx_wecmap_api.homeicon
sidebar < tx_wecmap_api.sidebar
directions < tx_wecmap_api.directions
sidebarItem < tx_wecmap_api.sidebarItem
addressForm < tx_wecmap_api.addressForm
output < tx_wecmap_api.output
_CSS_DEFAULT_STYLE < tx_wecmap_api._CSS_DEFAULT_STYLE
}
-------------------------------------------------------------------------------------------
I tried it also by adding the only fe user group that exists (everyone), but the result is the same.
Can anybody tell me what's going wrong? Any help is appreciated. Thanks in advance.
Frank



Author: