Support » Plugin: Events Manager » Booking spaces in multiples of 10?

Viewing 7 replies - 1 through 7 (of 7 total)
  • try to edit template file at wp-content/plugins/events-manager/templates/forms/ticket-form.php

    to use templates: http://wp-events-plugin.com/documentation/using-template-files/

    Thanks agelonwl.
    So I’ve located the file but not being conversant in PHP, I don’t know what to put to make the spaces drop-down display 10, 20, 30, 40, 50, 60 etc instead of 1,2,3,4,5,6 etc.
    (I’ve Googled this btw and couldn’t find the answer).
    Is this even possible?

    hi,

    Also try templates/forms/bookingform/tickets-list.php

    Plugin Author Marcus

    (@netweblogic)

    NetWebLogic Support

    actually, there’s an easier way. we don’t have an option in the settings page, but visit

    yoursite.com/wp-admin/options.php

    search for dbem_bookings_form_max and change that value. done!

    Thanks Marcus, but what do I change the value to? At the moment it’s ’20’ – not sure I understand how having a value of ’20’ results in the ‘Spaces’ drop-down displaying 1,2,3,4,5,6 etc. And therefore I don’t understand what to put to get it to display 10,20,30,40,50,60 etc.
    (I’ve tried changing it to various numbers and didn’t see any difference).

    you can try this snippet and modify accordingly – http://pastebin.com/Ei0en0HX

    Note: Paste in your theme functions.php

    Plugin Author Marcus

    (@netweblogic)

    NetWebLogic Support

    sorry, i thought those were the potential limits you wanted i.e. 1-60

    Angelo’s suggestion may help, but we don’t do this out the box.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Booking spaces in multiples of 10?’ is closed to new replies.