WordPress.org

Ready to get started?Download WordPress

Forums

Daily Stat
Daily stats is breaking mapping plugin Leaflet Maps Marker (3 posts)

  1. RobertHarm
    Member
    Posted 1 year ago #

    Hi,
    I am the developer of Leaflet Maps Marker and a user reported a incompatibilty with your plugin (see http://wordpress.org/support/topic/mapsmarker-dailystats?replies=1#post-3929208)
    The main problem is that your plugin is inserting the css and js file on all admin pages and thus breaking my settings page.
    Please take a look at https://github.com/robertharm/Leaflet-Maps-Marker/blob/dev/leaflet-maps-marker.php line 334-362 how I changed my code to include my js+css only on my pluginĀ“s pages.
    It would be great if you could solve this - in the meantime I will add a warning, that your plugin is not compatible...
    Thanks,
    Robert

    http://wordpress.org/extend/plugins/daily-stat/

  2. luciole135
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,
    Thank you for the return, the plugin uses two methods to insert JS:
    - Function wp_enqueue_script for any changes I made on the original plugin (statpress reloaded)
    - The method of the plugin statpress relaoaded for existing ones, so I have to change the input method with the function wp_enqueuscript and it forces me to check the entire code.
    I taking on the task.
    cordially

  3. RobertHarm
    Member
    Posted 1 year ago #

    thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic