Joseph

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 31 total)
  • Author
    Posts
  • in reply to: Method for adding additional main categories #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.

    in reply to: Method for adding additional main categories #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?

    in reply to: Reset search/category filter #1009400
    Joseph
    Participant

    Thanks Brian, that seems to fixed it.

    in reply to: Reset search/category filter #1007912
    Joseph
    Participant

    This reply is private.

    in reply to: Reset search/category filter #1007556
    Joseph
    Participant

    This reply is private.

    in reply to: Reset search/category filter #1006575
    Joseph
    Participant

    Actually, ignore that last post. I figured out adding ` <form>
    <input type=”button” value=”Put Your Text Here” onclick=jQuery(‘#tribe-bar-form’).tribe_clear_form(); />
    </form> ` at the top of the nav.php put the reset button. That button clears the input form though, how I can clear the filters to reset it? I see the JS here http://pastebin.com/YZFjGVKL , but not the specific JS like the one to clear the input form.

    Thanks!

    in reply to: Reset search/category filter #1006571
    Joseph
    Participant

    This reply is private.

    in reply to: Reset search/category filter #1005761
    Joseph
    Participant

    Brian,

    Would this be similar to what I need to implement?

    Reset event bar

    • This reply was modified 10 years, 7 months ago by Joseph.
    in reply to: Event category in preceding title in month view #1002253
    Joseph
    Participant

    Yes! That was it. I was using Sublime and it was adding funky single quotes. Switched to Coda and it worked. Thanks so much for your help, it’s slowly making sense.

    in reply to: Event category in preceding title in month view #1002216
    Joseph
    Participant

    Thanks Brian, I see that now on the WP page. I’m getting a

    Fatal error: Cannot use object of type WP_Error as array in /public_html/home/wp-content/themes/enfold/tribe-events/month/single-event.php on line 198

    error now. Do I need to create an array to hold the list? Any examples if so?

    in reply to: Event category in preceding title in month view #1002143
    Joseph
    Participant

    So, learning here, bear with me Brian. I got the single-event2.php setup with :

    $day      = tribe_events_get_current_month_day();
    $event_id = "{$post->ID}-{$day['daynum']}";
    $link     = tribe_get_event_link( $post );
    $title    = get_the_title( $post );
    $cat 	  = get_the_terms( $event_id, ‘tribe_events_cat’ ); 
    

    Then in the loop at the bottom, shouldn’t it be as easy as <?php echo $cat ?? ? I get an error with unable to convert to string.

    in reply to: No default templates #1002057
    Joseph
    Participant

    This reply is private.

    in reply to: Event category in preceding title in month view #1002054
    Joseph
    Participant

    Ok, that worked for the nav.php file! Can you tell me if I was on the right path with the categories in title snippet?

    in reply to: Event category in preceding title in month view #1001694
    Joseph
    Participant

    It’s actually a fresh install, nothing is cached and only Tribe plugins are activated. I even tried doing the Return to Month snippet (https://gist.github.com/theeventscalendar/003fbdf6ab408bf21b6d), which you can see the copied file (nav.php) in the screenshot and it doesn’t do anything.

    http://prntscr.com/8c74xa

    Please advise. Thank you.

    in reply to: Event category in preceding title in month view #1001603
    Joseph
    Participant

    Brian,

    No, that didn’t seem to have any effect. I tried erasing parts of the single-event.php file and didn’t any difference in the month view. Please advise.

Viewing 15 posts - 16 through 30 (of 31 total)