Method for adding additional main categories

Home Forums Calendar Products Community Events Method for adding additional main categories

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1101565
    Joseph
    Participant

    I 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.
    #1101743
    Brook
    Participant

    Howdy 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

    #1101903
    Joseph
    Participant

    Thanks 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?

    #1102209
    Brook
    Participant

    Thank 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

    #1102732
    Joseph
    Participant

    Thank 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.

    #1102797
    Brook
    Participant

    Okay 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:

    1. Create a new category called something like “Private Events”
    2. 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

    #1105640
    Joseph
    Participant

    Thanks again Brook, I’m going to take a stab at it and I’ll let you know if I get it working.

    #1105676
    Brook
    Participant

    You 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

    #1111535
    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 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Method for adding additional main categories’ is closed to new replies.