Home › Forums › Calendar Products › Community Events › Method for adding additional main categories
- This topic has 8 replies, 3 voices, and was last updated 9 years, 12 months ago by
Support Droid.
-
AuthorPosts
-
April 12, 2016 at 1:28 pm #1101565
Joseph
ParticipantI have TEC Pro and already have it setup using the Category Colors. We host multiple events for a variety of categories. The problem is within those categories, not all events are public (school district). What would be the best way (plugin or suggestion) to have a select able ‘Public Events’ and “Non Public”.
Thank you
-
This topic was modified 10 years ago by
Joseph.
April 12, 2016 at 9:04 pm #1101743Brook
ParticipantHowdy Joseph,
It sounds like you might be interested in altering the visibility setting of those events. When you edit the event, right next to the big Update buttong is the little visibility setting.
Here’s a nice tutorial on it including some screenshots. If you set it to visibility:private, do you think that would do what you want?
Cheers!
– Brook
April 13, 2016 at 7:02 am #1101903Joseph
ParticipantThanks for the response Brook. I think the solution you provided is more for actually hiding the event. I guess I need to explain further. Since we’re a school district, we host events that are not open to the public, but we still want to show on the calendar, like ‘rehearsals’. We want to show ‘all’ events on the calendar, public and non public, but allow the viewer to see which events are ‘Public only’.
I thought maybe even two calendars, one showing only the events the public could attend, and another showing all events. To me it seems easier to somehow have a legend, besides the Category colors that shows an indicator for Public events. Does this make sense?
April 13, 2016 at 3:33 pm #1102209Brook
ParticipantThank you for clarifying. In light of that I have another question or two for you. Is the calendar already hidden from the public, and you just want to prominently note events which are private and shouldn’t be shared? Or, are hoping to both mark them visually for people who can see them, and hide them?
Two calendars would work. You could also use a third party membership plugin. We have had pretty good success with Members. It allows you to specify which posts are visible to selected user roles.
Does that all make sense? Will that work for you? Please let me know.
Cheers!
– Brook
April 14, 2016 at 2:13 pm #1102732Joseph
ParticipantThank you for clarifying. In light of that I have another question or two for you. Is the calendar already hidden from the public, and you just want to prominently note events which are private and shouldn’t be shared? Or, are hoping to both mark them visually for people who can see them, and hide them?
Brook, the calendar will always be visible for all users, including public and non-public events. Being able to click just to view the ‘Public’ events for the general public would be ideal. The way Category Colors work, but with one Higher Level tree which would allow the visitor to choose Public Events or All Events. We have to show all events, but don’t want viewers/patrons confused as to which they can attend.
April 14, 2016 at 5:25 pm #1102797Brook
ParticipantOkay I understand you. Thank you for clarifying.
If the users that will be going to public events will not need to be logged in to view this, then there is no prebuilt setup out there available for your use. However with an hour or 2 of time from your web developer it would be possible to put this together. Here’s the simplest way I can think of to build this:
- Create a new category called something like “Private Events”
- Modify the following snippet so that it hides that category not based on user capabilities, but based on whether or not you are viewing a specific category (such as example.com/events/categories/private-events)
https://gist.github.com/elimn/c47fb3e65d437c2479bd
What that will do is make it so that any event with the Private Events Category checked will not be visible on the default calendar views. However anyone could still view those views if they visit the URL example.com/events/categories/private-events . So you could simply link your users to that page when they need to view private events, effectively creating two calendars. Keep in mind you can mark an individual event with multiple categories, so you can still categorize private events as well.
The only caveat is the above will certainly require a programmer versed in PHP though. Does that all make sense? Will that work for you? Please let me know.
Cheers!
– Brook
April 21, 2016 at 1:35 pm #1105640Joseph
ParticipantThanks again Brook, I’m going to take a stab at it and I’ll let you know if I get it working.
April 21, 2016 at 2:51 pm #1105676Brook
ParticipantYou are welcome Joseph! This topic will autoclose after 2 weeks of inactivity, but I’ll definitely leave it open until then. If you need further assistance at any point don’t hesitate to reach out, even if it’s in a new topic. Cheers!
– Brook
May 6, 2016 at 9:35 am #1111535Support 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. -
This topic was modified 10 years ago by
-
AuthorPosts
- The topic ‘Method for adding additional main categories’ is closed to new replies.
