Zum Inhalt springen

OpenStreetMap und tt_address

Erstellt am 29. April 2015 · 1 Antwort · letzte Antwort am 11. April 2016

Tags: Frage

allej ·

Guten Abend Gemeinde
In meine Testseite habe ich OpenStreetMap (ods_osm) eingebunden. Dies funktioniert soweit auch einwandfrei. Auch werden mir im Bubble die definierten Informationen angezeigt. Die Karte wird auf der Seite (ID56) im Container (ID71) ausgeben. Mein Wunsch wäre es nun, wenn ich im Bubble auf <Details> klicke die jeweilige Adresse auf derselben Seite (ID56) jedoch im Container (ID72) ausgegeben würde.
Das Template funktioniert soweit. Jedoch habe ich keine Ahnung, wie ich im TypoScript den Hyperlink (50.....) definieren kann.

Im Setup habe ich folgenden Code stehen:

plugin.tx_odsosm_pi1 {
  library = {$plugin.tx_odsosm_pi1.library}

  marker {
    pages =
    fe_users =
    fe_groups =
    tt_address = 
    tt_address_group =
    tx_odsosm_track =
  }
  #width = {$plugin.tx_odsosm_pi1.width}
  #height = {$plugin.tx_odsosm_pi1.height}
  width = 100%
  height = 1000
  
  lat =
  lon =
  
  zoom = {$plugin.tx_odsosm_pi1.zoom}
  layer = {$plugin.tx_odsosm_pi1.layer}
  mouse_navigation = {$plugin.tx_odsosm_pi1.mouse_navigation}
  show_pan_zoom = {$plugin.tx_odsosm_pi1.show_pan_zoom}
  show_popups = {$plugin.tx_odsosm_pi1.show_popups}
  show_layerswitcher = {$plugin.tx_odsosm_pi1.show_layerswitcher}
  show_scalebar = {$plugin.tx_odsosm_pi1.show_scalebar}
  no_marker = {$plugin.tx_odsosm_pi1.no_marker}

  _CSS_DEFAULT_STYLE = .olControlAttribution{bottom:0px!important;}
  popup {
    tt_address = COA
    tt_address {
      10 = TEXT
      10.field = name
      10.wrap = <h4>|</h4> 
      20 = TEXT   
      20.field = address
      20.wrap = <p_bubble>|</p_bubble><br>
      30 = TEXT
      30.field = zip
      30.wrap = <p_bubble>|&nbsp;
      35 = TEXT
      35.field = city
      35.wrap = |</p_bubble><br>
      40 = TEXT
      40.field = tx_odsosm_lat
      40.wrap = <p_bubble>|&nbsp;/&nbsp;
      45 = TEXT
      45.field = tx_odsosm_lon
      45.wrap = |</p_bubble><br><br>
      50 = TEXT
      50.value = <p_bubble>Details</p_bubble><br>
      #50. ?Definition Hyperlink?
      #50. ?Ziel?
    }
  }

  external_control = 0
  layerswitcher.div = 0
  layerswitcher.options =
  path_openlayers =
  static_script =
}

  _CSS_DEFAULT_STYLE (
    .osm_search_input div {display:inline; margin: 0 0.8em;}
  )
}

Im Einsatz habe ich TYPO3 6.2.12

Kann mir jemand ein Beispiel nennen, wie ich meinem Ziel näher komme? Danke für die Hilfe.

Freundliche Grüsse
allej

seebold ·

Hallo allej,

ist zwar schon etwas her, aber für das nächste Mal oder als Dokumentation für den Rest der Welt:

popup {
    tt_address = COA
    tt_address {
       [...]
       50.typolink.parameter.field = pid
   }
}

Viele Grüße
Martin