Forum Replies Created
-
AuthorPosts
-
Joseph
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.
Joseph
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?
Joseph
ParticipantThanks Brian, that seems to fixed it.
Joseph
ParticipantThis reply is private.
Joseph
ParticipantThis reply is private.
Joseph
ParticipantActually, 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!
Joseph
ParticipantThis reply is private.
Joseph
ParticipantBrian,
Would this be similar to what I need to implement?
-
This reply was modified 10 years, 7 months ago by
Joseph.
Joseph
ParticipantYes! 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.
Joseph
ParticipantThanks 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?
Joseph
ParticipantSo, 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.
Joseph
ParticipantThis reply is private.
Joseph
ParticipantOk, that worked for the nav.php file! Can you tell me if I was on the right path with the categories in title snippet?
Joseph
ParticipantIt’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.
Please advise. Thank you.
Joseph
ParticipantBrian,
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.
-
This reply was modified 10 years, 7 months ago by
-
AuthorPosts
