Default bookings = yes, not checked in event submit form
-
Hi,
I am using the free version and am trying to show the bookings fields automatically in the Add new event page.
I have “Yes” in general settings Allow bookings, but the form here, section “Allow registration for this event” is unticked, hence the ticket fields are not showing. http://jedloinak.sk/pridat-jedlo-udalost/?action=edit
The events for my use case ALWAYS want to have registration on, so I’m looking for an option to enable this for all new event submissions?
I also tried editing the bookings.php template as per: http://wp-events-plugin.com/documentation/using-template-files/, created a new folder: /web/wp-content/themes/ascend_premium/plugins/events-manager/templates/bookings.php, but it is ignored by the plugin.
I also tried recreating all the subfolders, no luck:
/web/wp-content/themes/ascend_premium/plugins/events-manager/templates/forms/event/bookings.phpIn the original file: /web/wp-content/plugins/events-manager/templates/forms/event/bookings.php
I can edit the default display:none; to display:block:, but that won’t stick after update:
<div id="event-rsvp-options" style="<?php echo ($EM_Event->event_rsvp) ? '':'display:block;' ?>">
and the checked flag doesn’t seem to work here:
<input id="event-rsvp" name='event_rsvp' value='1' type='checkbox' <?php echo ($EM_Event->event_rsvp) ? 'checked="checked"' : ''; ?> />
Does the template folder system not work for the free version? Or can I change the display: property somehow using a custom function?
If I buy the PRO version, will it work?
Separate question about PRO – the features say that I can customise the form by adding fields. Can I also hide fields?
thanks,
Lukas
- The topic ‘Default bookings = yes, not checked in event submit form’ is closed to new replies.