TYPO3 – cal_controller und wec_map

Damit Ihr die wec_map im cal_controller benutzten könnt, müsst Ihr ein paar Einstellungen vornehmen:

Constants:
plugin.tx_cal_controller.view.location.showMap = 1
Damit schaltet Ihr für den cal die wec_map ein.

Nun könnt Ihr das PlugIn einfügen (WEC Datenbank Karte ), unter Adresse müsst Ihr nun „Kalenderort“ (tx_cal_location) eintragen. Den Rest könnt Ihr dann im Setup konfigurieren…

In der Extension müsst Ihr noch den API-Code eintragen.

[ad#posting]

In Eurem Setup folgendes eintragen:

## Map InfoBox Config
plugin.tx_wecmap_pi3 {

height = 400
width = 420
showDirections = 1
prefillAddress = 0
initialMapType = G_SATELLITE_MAP
controls.mapControlSize = small
controls.showOverviewMap = 1
controls.showMapType = 0
controls.showScale = 0
#storeOrdner mit den Daten
pid = 64

zoomLevel =
centerLat =
centerLong =
mapName =
maxAutoZoom =

# example for tables configuration
#
tables {
10 {
table = tx_cal_location

# config for title
title {
title = TEXT
title.field = name
title.wrap = <h1>|</h1>
}

# config for description
description = COA
description {
10 = COA
10 {
10 = TEXT
10.field = description
10.wrap = <div>|</div>
10.if.isTrue.field = description
#
20 = TEXT
20.field = street
20.wrap =  |
20.if.isTrue.field = street
#
30 = TEXT
30.field = zip
30.wrap = |
30.if.isTrue.field = zip
#
40 = TEXT
40.field = city
40.wrap = |
40.if.isTrue.field = city
#
50 = TEXT
50.field = country
50.wrap = |
#
60 = TEXT
60.field = state
60.wrap = (|)
60.if.isTrue.field = state
}
10.wrap = <p>|</p>
}
}
20 {
table = fe_users
join  = INNER JOIN some_mm_table
where = pid=95 and deleted=0 and disable=0
}
}

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
outputn < tx_wecmap_api.output
#_CSS_DEFAULT_STYLE < tx_wecmap_api._CSS_DEFAULT_STYLE
_CSS_DEFAULT_STYLE >

# this is simply to check if this template is included
templateIncluded = 1
}

[ad#posting]

Eure Meinung zu dem Artikel ist gefragt! Schreibt mir ein Kommentar

Hat Euch der Artikel weitergeholfen oder gefallen?
Ich freue mich auf einen Blick auf meine Amazon-Wunschliste. Vielen Dank!

Hat Euch der Artikel geholfen oder gefallen?
Ich freue mich auf einen Blick auf meine Amazon-Wunschliste.
Vielen Dank!


Ich bin TYPO3 Freelancer, TYPO3-Entwickler, Web-Entwickler und Frontend-Entwickler. Ich arbeite im und für das Web seit 2004.
Mehr Infos zu der TYPO3 Internet-Agentur INGENIUMDESIGN.

Besucht auch unser TYPO3 Hilfe Forum.

Leave a Reply

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.

Next ArticleTYPO3 - HMENU, TMENU, Title, Subtitle und Class