• Resolved analogguy

    (@analogguy)


    I’m dealing with a behaviour and I’m not sure how to fix it. I’m using a form based on form.php_captcha and have renamed it to form.php (captcha) and duplicated it to events.php and call it on a page with the shortcode [emefs_submit_event_form template=events.php]
    As I deleted the external link stuff from the base template (redirecting directly to the link and not showing the calendar entry) in events.php I’m sure it can’t find the form and loads instead form.php.
    I’ve tried it with /templates/events.php and “/templates/events.php” in the shortcode also. It should use the first of the 4 directories to search for the events.php.
    events.php hat permission 640 as the original file. Any idea where to fix the problem?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Franky

    (@liedekef)

    The permissions must be so that your webserver can read the file, I assume 640 might be wrong (depending on your config/setup), so try 644.
    Also, don’t put your custom file in the templates subdir (it will get deleted upon update), see the FAQ:

    The plugin will look for form template and style files in the following paths, in that priority:
    WP UPLOAD DIR/events-made-easy-frontend-submit/
    ./wp-content/themes/your-current-theme/eme-frontend-submit/
    ./wp-content/themes/your-current-theme/events-made-easy-frontend-submit/
    ./wp-content/themes/your-current-theme/emefs/
    ./wp-content/themes/your-current-theme/events-made-easy/

    Thread Starter analogguy

    (@analogguy)

    Great. I created the folder in my theme and it worked instantly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom template not used’ is closed to new replies.