• Resolved mcmook

    (@mcmook)


    My users are sometimes missing the recurring event checkbox. Is it possible to convert an event into a recurring event?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I am not part of support.. just some dude.
    I found your question interesting.

    I don’t think it is possible, without using the “Duplicate” option to simply make
    a single event recurring.

    But… I understand… making the “user” experience most friendly…

    ARE you using this short code for your users to add events ???
    [event_form]

    If you are this may work for you.. basically….
    What we will be doing is making a box, with a yellow background, and bold font…
    Thusly highlighting the option to “Check this box…”

    You would be editing a core file for EM, but you can put the “new” template in
    your Theme folder so it won’t be overridden upon updates…
    bascially… (there is documentation about this in EM docs).
    Thusly your “adjusted” template will be in the….
    yourwebsite/yourtheme/plugins/events-manager/templates/forms

    So make a back up of the file when-with-recurring.php

    /events-manager/templates/forms/event/when-with-recurring.php

    So… in the file when-with-recurring.php

    approx line 11 this line..
    <p><?php _e('This is a recurring event.', 'dbem'); ?> <input type="checkbox" id="em-recurrence-checkbox" name="recurring" value="1" <?php if($EM_Event->is_recurring()) echo 'checked' ?> /></p>

    replace it with this “style” coding…
    <p><?php _e('<div style="width: 350px;border:solid black 3px;background-color: #ffff00; font-weight: bold;margin-right:auto;"><span>*** IS THIS A RECURRING EVENT ???<br> Check off the box ---></span>', 'events-manager'); ?> <input type="checkbox" id="em-recurrence-checkbox" name="recurring" value="1" <?php if($EM_Event->is_recurring()) echo 'checked' ?> /></p></div>

    If all goes well… and you are using the shortcode [event_form]
    This will make a bright yellow box pointing to the Check Box option for Recurring Events

    AND you would place this adjusted file in…
    yourwebsite/yourtheme/plugins/events-manager/templates/forms

    It’s very late for me on a long day… but I did test this and poke around a bunch to find any conflicts but didn’t.
    Hopefully all good and if problems me or support can correct.

    • This reply was modified 7 years, 11 months ago by Robswaimea. Reason: stuff
    Plugin Support angelo_nwl

    (@angelo_nwl)

    sorry but Im afraid that this is not possible at the moment; you need to recreate the event instead.

    Thread Starter mcmook

    (@mcmook)

    Thanks both. @robswaimea I added some custom text the the event form template that will hopefully make things clearer. Thanks for your input.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Convert Event to Recurring Event’ is closed to new replies.