Zum Inhalt springen

Geo-Daten aus Datenbank holen

Erstellt am 5. April 2009 · Noch keine Antworten

Tags: tt_address, Datenbank, Frage

Gjergj ·

Hallo Leute,

ich benutze die Extension "lumogooglemaps" welche die
Datenbank-Tabelle von "tt_address" um zwei weitere Felder erweitert.
Nun möchte ich die Daten holen und ausgeben, weiss aber nicht ganz
wie ich das mit TS elegant lösen kann.

...folgendes habe ich bereits probiert:

headerData.2030 = COA
headerData.2030 {
  
  20 = COA
  20 {
  10 = TEXT
  10.dataWrap = DB:tt_address:{GPvar:tx_lumogooglemaps_pi1|uid}:tx_lumogooglemaps_longitude
  10.wrap3 = {|}
  10.insertData = 1

  15 = TEXT
  15.value = ,
   
  20 = TEXT
  20.dataWrap = DB:tt_address:{GPvar:tx_lumogooglemaps_pi1|uid}:tx_lumogooglemaps_latitude
  20.wrap3 = {|}
  20.insertData = 1
    
   }
  20.wrap = <meta name="geo" content ="|">

   }

Debug:

_abz_
userFunc 	tx_lumogooglemaps_pi1->main
google_api_key 	.....
template_file 	EXT:lumogooglemaps/templates/template_css.html
default_country 	Germany
pid_list 	
recursive 	
map. 	
width 	400
height 	400
type 	map
type_controls 	show
nav_controls 	small
zoom 	5
center. 	
longitude 	11.200357
latitude 	47.636645
show 	0
marker. 	
icon 	EXT:lumogooglemaps/templates/marker_icon.png
shadow 	EXT:lumogooglemaps/templates/marker_shadow.png
spot. 	
x 	6
y 	20
info. 	
x 	5
y 	1

Danke!

Gruß Gjergj