• Resolved trailmix5

    (@trailmix5)


    Hello,

    First of all, GREAT plugin and thanks for making it available to the community.

    I’m using your plugin more like a regular social network (Like Facebook), so I really just want to know if people are attending the events in a very simple way. I would like to hide the options for capacity, $, etc. I adjusted the format of the Single Events Page so that I included only a BookingButton instead of a BookingForm. I’ve also adjusted the wording and it looks pretty good from an outside perspective.

    My problem is that the creator of the event still has all of those options available. I would ideally like to have the bookings/registration title have only “enable registration for this event” present with its checkbox. Everything else underneath can be hidden for my purposes. No price, spaces, etc.

    I tried just about everything I could think of, but I haven’t been able to hide what’s under the checkbox.

    Can this be hidden with css? Like…

    #event-tickets.em-date-single {
        display: none;
    }

    That particular css obviously didn’t work, but I’m probably not coding it properly.

    I also tried to comment out some php, but I was unsuccessful. Can you please tell me how to accomplish this? I’m probably missing something silly…

    Thanks!

    http://wordpress.org/extend/plugins/events-manager/

Viewing 7 replies - 1 through 7 (of 7 total)
  • hi,

    have you tried to used single ticket mode at Settings > Bookings > Ticket Options > Single ticket mode (Choose Yes)

    Or

    try template file wp-content/plugins/events-manager/templates/forms/bookingform/tickets-list.php

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

    Thread Starter trailmix5

    (@trailmix5)

    Thanks. Yes, I have it in single ticket mode which is good for everyone except the person creating the event. The creators have a ton of options I need to get rid of. Is this the normal behavior?

    If so, I’ll check out the templates and try to modify it. Thanks.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    If you can live with hiding this via CSS, I’d advise that.

    Otherwise, you can override these templates to remove those fields, the file you want are

    events-manager/templates/forms/bookingform/bookings.php
    events-manager/templates/forms/ticket*

    note that you have to have a capacity for each ticket, so if you want to hide it, change it to a hidden input field and assign a high value.

    Thread Starter trailmix5

    (@trailmix5)

    Thanks Marcus. I would prefer to do it with CSS, but I haven’t been able to successfully hide it yet. Do you know what css would hide that entire form, but leave the initial checkbox? I’m stumped. Thanks again.

    try to used chrome or firebug then inspect the html elements to determine it’s css class or id

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    hmm… looking again, is all you want JUST the checkbox? meaning the default ticket would be created with 10 spaces, no need to change that?

    If so then actually templates would be the easiest way. All you need to do is change id="event-tickets" on line nine of

    events-manager/templates/forms/bookingform/bookings.php

    to something else. that way it’ll not get shown when checked.

    Thread Starter trailmix5

    (@trailmix5)

    Thanks, I’ll give that a shot.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Remove ticket/booking options’ is closed to new replies.