Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter toni

    (@moretso)

    I would like an url providing json data to feed a map somewhere else with EM global-map markers.
    Example : on my WP website with EM installed, I display a global map with today’s events (locationsmap, scope=today). I would like to generate the same map from a mobile app, not just display my website page in the mobile app.
    I use buzztouch, with a location module :
    They say we can provide a data url :

    If you provide location data from a remote file there is not childItems array. Instead,
    the locations are pulled from a remote file then added to the map.

    {
    “itemId”:”1111″,
    “itemType”:”BT_screen_map”,
    “itemNickname”:”Location Map”,
    “navBarTitleText”:”Monterey Spots”,
    “dataURL”:”https://mywebsite.com/locationsForMap.php”
    }

    In this case the locations would come from a backend script at the dataURL. Loading
    the dataURL in your browser would produce output like this….

    {
    “childItems”:[
    {
    “itemId”:”D441703507867F328A084DF”,
    “itemType”:”BT_mapLocation”,
    “latitude”:”36.600723″,
    “longitude”:”-121.8928338″,
    “title”:”Location 1″,
    “subTitle”:”234 Del Monte Blvd Monterey CA 93940″

    Thank you for your help, I’m learning…

    Thread Starter toni

    (@moretso)

    Hi,

    thank you for your answer, but this is not what I meant.

    I would like to get a way of populating a map somewhere else with the marker generated by the global_map (for example scope=”today”) in events manager.
    => Our mobile app provides a map, that can be populated by external data. We would like these external data to be the markers created by EM in the global map. It refers to a .php file where the child contents would be location markers with some other informations…

    Thread Starter toni

    (@moretso)

    Hello Marcus,

    no, no, I meant, events dont show up in Events map if translated, and in “upcoming event” on a single location page.

    Events : if duplicated (through WPML) from language A to B, no problem.

    Events : if translated (through WPML) from language A to B, will show up on Events map of language A, not on events map of language B. I am talking about the Events map (for example, scope = today), not the single event page.

    Same on a single location page, by using “upcoming events” attribute for this single location, only events created under language A will appear on the language A page of the related location. Will not show up on the language B page of this location.

    Thread Starter toni

    (@moretso)

    [complement] :

    The same issue happens for the call “upcoming events” of a location.
    If the event was “translated” (not duplicated) via WPML, won’t appear in the “upcoming events” call on a location page. Will only appear in the language from the originally created event.

    Hope I’m understandable…

    Thread Starter toni

    (@moretso)

    Anyone? I am searching on the net, as much as i can, but really, I′m too newbie.

    In plugin.php the line 406 it refers to is
    call_user_func_array($the_['function'], array_slice($args, 0, (int) $the_['accepted_args']));

    And the only file where a line refers to EM_WPML_Admin::init’ is
    em-wpml-admin.php, last line :

    add_action('plugins_loaded', 'EM_WPML_Admin::init');

    And if I keep the plugin activated, the short codes like events list wont return any result anymore. If I deactivate the Events Manager and WPML Compatibility plugin, they display events again.

    I′ve run a complete reinstall of wordpress, installed only EM and WPML before the compatibility plugin, and I still got this issue.

Viewing 5 replies - 1 through 5 (of 5 total)