Home › Forums › Calendar Products › Community Events › Organiser Details
- This topic has 4 replies, 3 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
April 27, 2015 at 1:34 am #958410
Carl
ParticipantHey Event Team,
How can i have “Use New Organizer” set as default instead of having user to be able to select existing list of Organiser. We would like to have the list of existing organiser hidden during setting up an events.
Thank you
April 27, 2015 at 11:41 am #958652Brook
ParticipantHowdy Carl,
I have a quick clarifying question for you. Do you want “Use New Organizer” simply set as the default, but a user can still select an existing one if they go out of there way and find one from the drop-down? If so head over to your site’s WP Admin > Events > Settings > Community, scroll down to “Default organizer for submitted events”, and select “No Default”.
Or, do you simply want hide that field entirely and force users to input a new organizer everytime they submit an event? If so, do you really want them to submit a new organizer even if they are returning a second time to submit a second event for the same organizer they added last time, or do you want previous entries to be available to them for submission?
Cheers!
– Brook
April 27, 2015 at 7:06 pm #958798Carl
ParticipantHey Brook Thank you very much for your reply.
I would like to completely hide the dropdown to existing organiser so everytime they have to enter the organiser and the admin can filter it later on. The reason is we do not want a user creating an event on behalf of the organiser knowledge
thank you
April 28, 2015 at 7:34 am #958910Brook
ParticipantAlright! Sounds good. To make that change you would need a theme override (click here for a guide) for this file:
/the-events-calendar-community-events/views/community/modules/organizer.php
There is a line in there which looks like this:
<?php tribe_community_events_organizer_select_menu( $event ); ?>Simple comment out or remove that line to completely remove the box. However, if users are able to edit events, then when they come back to edit, every time they save after editting a new organizer will be created. Thus, you might be interesting in showing that box when $event != null, which will allow them to use an existing organizer on edits only.
Does that all make sense? Are you able to get that working?
Cheers!
– BrookJuly 7, 2015 at 6:31 am #984117Support 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 ‘Organiser Details’ is closed to new replies.
