• Resolved DaDirnbocher

    (@dadirnbocher)


    Ich scheitere gerade am Verst?ndnis der richtigen Pfadangabe eines kml-Files, das im uploads Verzeichnis liegt.
    1. Nehme ich den absoluten Pfad (http….) funktioniert die Map grunds?tzlich (fast). nehme ich hier https so funktioniert die Map nur dann, wenn die Seite auch via https aufgerufen wird. vice versa mit http
    2. Versuche ich es mit relativen Pfaden gelingt es mir gar nicht. Relativ zu welchem Verzeichnis muss der relative Pfad angegeben werden? Relativ zu plugins/osm oder plugins/osm/osm_map_V3

    Beispiel:

    [osm_map_v3 map_center="autolat,autolon" zoom="autozoom" width="100%" height="200" file_list="https://www.fussballnord.at/fbn/wp-content/uploads/u10b.kml" control="scaleline" ]
    

    funktioniert, aber

    [osm_map_v3 map_center="autolat,autolon" zoom="autozoom" width="100%" height="200" file_list="../../../uploads/u10b.kml" control="scaleline" ]
    (relativ zu plugins/osm) nicht.

    Gibts da einen kleinen Stoss, der mich in die richtige Richtung leitet?

    • This topic was modified 3 years, 6 months ago by DaDirnbocher.
    • This topic was modified 3 years, 6 months ago by DaDirnbocher.
    • This topic was modified 3 years, 6 months ago by DaDirnbocher.
    • This topic was modified 3 years, 6 months ago by DaDirnbocher.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter DaDirnbocher

    (@dadirnbocher)

    Ok, ich glaub jetzt hab ich relative Pfade verstanden.
    1. Man muss immer zum “root” zurück
    2. Und vor dort dann wieder retour
    3. Abkürzungen (“bin eh schon in wp-content, da kann ich gleich nach uploads”) sind nicht gestattet.
    4. Punkt 2 ist insbesondere dort wichtig, wo wp über ein unterverzeichnis erreichbar ist, z.B. meinedoman/mein_blog

    Plugin Author MiKa

    (@photoweblog)

    Hallo @dadirnbocher

    danke für die Info für alle! Wir werden das auch in der Doku aufbereiten.

    Br, Michael

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘file_list: Pfade’ is closed to new replies.