• Resolved smaggio

    (@slier)


    Hello,
    great job.

    Some feedback:
    – In a child theme the plugin generates some errors by not finding the template files in the folder /CHILD_THEME_FOLDER/plugins/events-manager/…
    – I haven’t copied all the template files from events manager plugin, as reported in the documentation (https://wp-events-plugin.com/documentation/using-template-files/), but this generates some php errors when it looking in theme’s folder for some template file that do not exist.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    Thank for you feed back! Always welcome ??
    You should not need to copy the template files manually… What is the exact error you are getting?

    please deactivate and reactivate the plugin. That should “hard” trigger the reloading of the correct template files.

    Thread Starter smaggio

    (@slier)

    Hi Patrick,
    thanks for the answer.
    I think the problem is that I already have a folder with some modified frontend template files in CHILD_THEME/plugins/events-manager/templates/, but i have stop the errors deactivating and reactivating the plugin as you suggest and adding ‘/../CHILD_THEME_NAME’ to get_template_directory() in stonehenge-em-osm.php.

    However the errors were:
    PHP Warning: copy(/wp-content/themes/PARENT_THEME/plugins/events-manager/forms/location/where.php): failed to open stream: No such file or directory in /wp-content/plugins/stonehenge-em-osm/stonehenge-em-osm.php on line 720
    PHP Warning: copy(/wp-content/themes/PARENT_THEME/plugins/events-manager/forms/event/location.php): failed to open stream: No such file or directory in /wp-content/plugins/stonehenge-em-osm/stonehenge-em-osm.php on line 733
    PHP Warning: rename(/wp-content/themes/PARENT_THEME/plugins/events-manager/forms/event/location.php,/wp-content/themes/PARENT_THEME/plugins/events-manager/forms/event/location-1_8_3.php): No such file or directory in /wp-content/plugins/stonehenge-em-osm/stonehenge-em-osm.php on line 732

    I hope this is useful to you.

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    Ah… I did not take the child themes into consideration enough. My bad!
    In version 1.8.4. I have changed that.

    Please deactivate and reactivate the plugin to load the new files.

    Please note:
    If you have made adjustments to the original EM template files location.php and where.php you may need to redo those. Be sure to point to the new OSM functions, though.

    Thread Starter smaggio

    (@slier)

    Thanks,
    problem solved.
    Bests

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Some feedback after upgrade to 1.8.x’ is closed to new replies.