Can no longer hide cost field?

Home Forums Calendar Products Events Calendar PRO Can no longer hide cost field?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1093198
    Kadi Driscoll
    Participant

    Hi guys, prior to this recent update I was able to hide the “cost” input from the front end of my community events entry page, I’m note sure if you’ve moved the setting to taken it out but I cant seem to find it. Can you please help me, I have a custom cost extension and do not want to have it duplicated confusing my users. You can see my page here

    #1093714
    Hunter
    Moderator

    Hey Kadi,

    Thanks for reaching out.

    I was unable to access your event submission form as it’s set to not allow anonymous submissions. But one way you can achieve this via CSS is to right-click on your mouse when viewing the front end of your add event form and open “Inspect”. You can identify the cost fields and hide them with CSS.

    Another route would be to do a template override as outlined in our Themer’s Guide. The submission form is located in /the-events-calendar-community-events/src/views/community (edit-event.php).

    I hope this helps and please let me know if you have any more questions 🙂

    #1093739
    Kadi Driscoll
    Participant

    I fixed the submission thing so you can see the form. I’m not very good with css and I don’t understand why you all changed this. Can you you help me with a code.

    #1094478
    Kadi Driscoll
    Participant

    So… will there be a reply to this?

    #1094881
    Hunter
    Moderator

    Hi Kadi,

    Unfortunately, it appears your submit event form is still hidden to logged out users. But as I previously mentioned, you can simply delete the information relating to cost via a template override as outlined in our Themer’s Guide. It’s a fairly simple process to do and shouldn’t take you more than 5-10 minutes.

    Create a new folder inside your theme folder called tribe-events. You’ll then need to create another folder inside tribe-events called community. Locate edit-event.php found in /the-events-calendar-community-events/src/views/community. Copy the entire file (ctrl+c or command c) and create a new file. Paste the contents into this new file, delete or comment out line 70 (code below), then save this template inside the community folder as edit-event.php.

    <?php tribe_get_template_part( 'community/modules/cost' ); ?>

    These are step-by-step instructions and essentially all the support I can provide. Best of luck with the template override and thank you for reaching out. Enjoy your week!

    #1101417
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Can no longer hide cost field?’ is closed to new replies.