WordPress.org

Support

Support » Plugins and Hacks » [Resolved] move existing leaflet maps marker to new site

[Resolved] move existing leaflet maps marker to new site

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author RobertHarm

    @harmr

    Hi,
    import/export of current markers is only possible directly in the database (via phpmyadmin for example). Login into phpmyadmin and export the following tables:
    – wp_leafletmapsmarkers_markers
    – wp_leafletmapsmarkers_layers
    Then login into phpmyadmin on the new site and reimport those two tables. A tutorial for this is still on my 2do-list, unfortunately I didnt have the time yet.
    regards,
    Robert

    PS: As I give support for free, Iยดd appreciate a review on http://wordpress.org/support/view/plugin-reviews/leaflet-maps-marker ๐Ÿ˜‰

    Hi!
    But what I can do to show the same maps on all my site in multisite WP installation, or for example [mapsmarker layer=”1″] (one layer map) on 1st site and [mapsmarker layer=”4″] (all layer map) on 2nd site.
    1st site is on domain ‘1’ 2nd site is on domain ‘2’, both domains are served by one multisite WP.
    Now I can show they properly on 1st site only. On the 2nd site layers are empty.
    Witold
    p.s. sorry – my english is not so good. ๐Ÿ˜‰

    Plugin Author RobertHarm

    @harmr

    if you install my plugin on a multisite installation, an instance of the plugin is created for all subblogs. So in your case you have to identify the table prefixes for subblogs, export the data from subblogs1 (eg wp1_leafletmapsmarker_markers + _layers) and reimport them in the tables of subblog 2 (eg wp2_leafletmapsmarker_markers + _layers).

    it’s not so easy. Leaflet Maps Marker is installed and turn on in WP net for all domains. I don’t wont to have 2 copies of layers on two domains. I want to use one copy of maps (layers, markers) on all domains served by one installation of WP.
    Is it possible to do?

    Plugin Author RobertHarm

    @harmr

    it is currently not possible to use maps created in one subblog in another subblog. Each subblog has its own tables which are separated.

    so it is new idea for you, to use it in new version of Leaflet Maps Marker. ;-)))
    Look multisite WP use only one MySQL base to serve all sites on all domains, I think is not a problem to use one table to create all maps on all sites, on all domains.

    Plugin Author RobertHarm

    @harmr

    not quite – if you look at a WP multisite installation, you see that each blog has its own tables within one database – they are separated by different prefixes (eg wp_1_leafletmapsmarker_markers, wp_2_leafletmapsmarker_markers…).

    I’m not a PHP programmer, but I think your plugin ask the date from MySQL tables. Your program creates SQL questions, defined names of tables. I don’t know what to do it (I’m PHP programmer) but I think that it could be possible ;-))
    maybe in settings you can put lines:
    [choose marker table]
    [choose layer table]
    […]
    and if for different domains lines are the same than maps are the same.
    It’s good idea?

    Plugin Author RobertHarm

    @harmr

    thanks for the suggestion, but believe me, it is a bit more complicated like that ๐Ÿ˜‰

    By
    But what with:
    http://wordpress.org/support/topic/leaflet-maps-marker-to-big-links?replies=1
    could you be so kind to help me?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] move existing leaflet maps marker to new site’ is closed to new replies.