Hallo Dominic, sorry, ich kriege das nicht hin. Ich will, dass statt der Locations aus der Calendar Base die Veranstalter ("Organizer") angezeigt werden.
Ich habe jetzt in Anlehnung an Deine Lösung folgendes in meine localconf.php eingetragen: $TCA['tx_cal_organizer']['ctrl']['EXT']['wec_map'] = array ( // snip 'isMappable' => 1, 'addressFields' => array ( 'street' => 'street', 'city' => 'city', //'state' => 'address3', 'country' => 'country', 'zip' => 'zip', 'name' => 'name', 'latitude' => 'latitude', 'longitude' => 'longitude', ), ); Außerdem habe ich ins Setup des Templates noch dieses eingetragen: plugin.tx_wecmap_pi3.tables.10 { table = tx_cal_organizer #where = country_zone = 'MV' icon { iconID = symbol anchorX = 0 anchorY = 0 infoAnchorX = 5 infoAnchorY = 1 imagepath = XXX #http://maps.google.com/intl/en_us/mapfiles/ms/micons/lodging.png width = 32 height = 32 shadowpath = http://maps.google.com/intl/en_us/mapfiles/ms/micons/lodging.shadow.png shadowWidth = 59 shadowHeight = 32 } } plugin.tx_cal_controller.view.organizer.organizer { showMap = 1 organizerViewPid = 2845 map.apiKey = XXX map.showOverviewMap = 1 map.showMapType = 1 map.showScale = 1 } Die Tabelle tx_cal_organizer habe ich per Hand um die beiden Felder latitude und longitude aufgebohrt und die entsprechenden Daten eingetragen. Dennoch wird keine Karte generiert und es erscheint nur die Meldung, dass es nichts anzuzeigen gäbe. Die Tabelle tx_cal_organizer ist auf den ersten Blick identisch mit der Tabelle tx_cal_location. Mir leuchtet nicht ein, warum ich nicht einfach auf dem oben dargestellten Weg (vor allem via plugin.tx_wecmap_pi3.tables.10.table = tx_cal_organizer) eine andere Tabelle auswählen kann. Gruß Jörg Am 01.05.2011 15:09, schrieb Joerg Sauskat: > Hallo Dominic, > > danke für Deine Hilfe. Ich werds ausprobieren. > > Gruß Jörg > > > Am 01.05.2011 13:23, schrieb Dominic Garms: >> Hallo Jörg, >> >> ich glaube du solltest vor allem die wec_table map verwenden (pi3), dann >> in der localconf.php oder in der extTables.php falls du die am laufen >> hast die Marker mappen. Ich habe das für tt_news folgendermassen gemacht: >> >> $TCA['tt_news']['ctrl']['EXT']['wec_map'] = array ( >> // snip >> 'isMappable' => 1, >> 'addressFields' => array ( >> 'street' => 'tx_lonewsaddress_address', >> 'city' => 'tx_lonewsaddress_city', >> //'state' => 'address3', >> 'country' => 'tx_lonewsaddress_country', >> 'zip' => 'tx_lonewsaddress_zip', >> 'name' => 'tx_lonewsaddress_mapname', >> 'email' => 'tx_lonewsaddress_email', >> 'telephone' => 'tx_lonewsaddress_phone', >> ), >> ); >> >> Hoffe das hilft dir auf die Sprünge. >> >> Schöne Grüße >> Dominic > _______________________________________________ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german