Home › Forums › Calendar Products › Events Calendar PRO › Can no longer hide cost field?
- This topic has 5 replies, 3 voices, and was last updated 10 years ago by
Support Droid.
-
AuthorPosts
-
March 23, 2016 at 4:22 pm #1093198
Kadi Driscoll
ParticipantHi 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
March 24, 2016 at 3:39 pm #1093714Hunter
ModeratorHey 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 🙂
March 24, 2016 at 4:10 pm #1093739Kadi Driscoll
ParticipantI 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.
March 26, 2016 at 3:06 pm #1094478Kadi Driscoll
ParticipantSo… will there be a reply to this?
March 28, 2016 at 10:55 am #1094881Hunter
ModeratorHi 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!
April 12, 2016 at 9:35 am #1101417Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘Can no longer hide cost field?’ is closed to new replies.
